summaryrefslogtreecommitdiff
path: root/libs/audiographer/audiographer/debug_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/audiographer/audiographer/debug_utils.h')
-rw-r--r--libs/audiographer/audiographer/debug_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/audiographer/audiographer/debug_utils.h b/libs/audiographer/audiographer/debug_utils.h
index a1d8259716..a1dad22eaf 100644
--- a/libs/audiographer/audiographer/debug_utils.h
+++ b/libs/audiographer/audiographer/debug_utils.h
@@ -3,6 +3,7 @@
#include "flag_field.h"
+#include <cstdlib>
#include <string>
#ifdef __GNUC__
@@ -24,7 +25,7 @@ struct DebugUtils
char * res = abi::__cxa_demangle (typeid(obj).name(), 0, 0, &status);
if (status == 0) {
std::string s(res);
- free (res);
+ std::free (res);
return s;
}
#endif