diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-12 17:10:39 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-12 17:10:39 +0800 |
commit | 100c098d55faad03366dffad8572b2d9f75dc936 (patch) | |
tree | 82ba057134dbff153d8b1cf52bfa0156d1cdee0f | |
parent | 5fe434e35b65a42bc365404a7a6c3436a2a99a8b (diff) |
Make sure user is NULL after freed
-rw-r--r-- | rtclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -242,6 +242,7 @@ void rtclient_userfree(rt_user *user) free(user->comments); free(user->signature); free(user); + user = NULL; } void rtclient_cleanup() |