summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
+}