changeset 195:a16e8272bdda

100L.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Feb 2016 16:42:43 +0200
parents 87dac812cac4
children 5c7de25666e7
files th_util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_util.c	Thu Feb 11 16:42:00 2016 +0200
+++ b/th_util.c	Thu Feb 11 16:42:43 2016 +0200
@@ -235,7 +235,7 @@
 
 void th_free_r(void **ptr)
 {
-    if (p != NULL)
+    if (ptr != NULL)
     {
         th_free(*ptr);
         *ptr = NULL;