summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index abc88b7..4a53d86 100644
--- a/src/util.c
+++ b/src/util.c
@@ -540,3 +540,9 @@ gchar* util_format_gdouble(gdouble d)
g_ascii_dtostr(achBuffer, 20, d);
return g_strdup(achBuffer);
}
+
+void util_g_free_with_param(gpointer pMemory, gpointer _unused)
+{
+ g_assert(pMemory != NULL);
+ g_free(pMemory);
+}