From 100c098d55faad03366dffad8572b2d9f75dc936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 12 Sep 2019 17:10:39 +0800 Subject: Make sure user is NULL after freed --- rtclient.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rtclient.c b/rtclient.c index 1871377..db3a3ba 100644 --- a/rtclient.c +++ b/rtclient.c @@ -242,6 +242,7 @@ void rtclient_userfree(rt_user *user) free(user->comments); free(user->signature); free(user); + user = NULL; } void rtclient_cleanup() -- cgit v1.2.3