diff --git a/src/files.c b/src/files.c index 04f71197..0ef6e9c2 100644 --- a/src/files.c +++ b/src/files.c @@ -235,9 +235,10 @@ string_hash (const void *x) } static void -string_free (const void *p) +string_free (const void *cp) { - free ((void*) p); + void *p = (void*) cp; + free (p); } const char *