aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/espik.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/espik.c b/src/espik.c
index b851fb0..5514ce7 100644
--- a/src/espik.c
+++ b/src/espik.c
@@ -34,6 +34,7 @@ static void espik_destroy_ptr(void *ptr)
{
espik_debug_print("Freeing data...");
free (ptr);
+ ptr = NULL;
}
}