summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-20 13:54:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-20 13:54:25 +0000
commit5bc18b038b8f2dcb2adfb10ac30707295cd63282 (patch)
tree1e2a3809863a840d6f43230f75c4613d7d672148 /tools
parent418db2636cc5b4e519f281c16a5e0496b80dc8d1 (diff)
model file for Coverity
git-svn-id: http://svn.miranda-ng.org/main/trunk@12975 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r--tools/coverity/my_free.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/coverity/my_free.cpp b/tools/coverity/my_free.cpp
new file mode 100644
index 0000000000..93d5ea39ba
--- /dev/null
+++ b/tools/coverity/my_free.cpp
@@ -0,0 +1,7 @@
+void* mir_alloc(size_t sz) {
+ __coverity_alloc__(sz);
+}
+
+void mir_free(void* x) {
+ __coverity_free__(x);
+}