aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/region-model-impl-calls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/analyzer/region-model-impl-calls.cc')
-rw-r--r--gcc/analyzer/region-model-impl-calls.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/analyzer/region-model-impl-calls.cc b/gcc/analyzer/region-model-impl-calls.cc
index 1b81c74..d3b66ba 100644
--- a/gcc/analyzer/region-model-impl-calls.cc
+++ b/gcc/analyzer/region-model-impl-calls.cc
@@ -436,6 +436,15 @@ region_model::impl_call_strlen (const call_details &cd)
return true;
}
+/* Handle calls to functions referenced by
+ __attribute__((malloc(FOO))). */
+
+void
+region_model::impl_deallocation_call (const call_details &cd)
+{
+ impl_call_free (cd);
+}
+
} // namespace ana
#endif /* #if ENABLE_ANALYZER */