summaryrefslogtreecommitdiff
path: root/scripts/mkderivedvalues.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkderivedvalues.pl')
-rwxr-xr-xscripts/mkderivedvalues.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkderivedvalues.pl b/scripts/mkderivedvalues.pl
index a5b5a194..85170730 100755
--- a/scripts/mkderivedvalues.pl
+++ b/scripts/mkderivedvalues.pl
@@ -226,7 +226,7 @@ $pointer_check_rv\
if ($union_data eq 'string') {
print
-" if (impl->data.v_${union_data} != 0) {\n free((void *)impl->data.v_${union_data});\n }\n";
+" if (impl->data.v_${union_data} != 0) {\n icalmemory_free_buffer((void *)impl->data.v_${union_data});\n }\n";
}
print "\