From 1ab7628cc1e8fcaae1cdda8b59eaabb06a3f9a0b Mon Sep 17 00:00:00 2001 From: mom040267 Date: Sun, 9 Nov 2014 10:30:26 +0000 Subject: [PATCH] cosmetics --- TODO | 2 +- src/apps/uclient/mainuclient.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 9b79ded5..182c3a20 100644 --- a/TODO +++ b/TODO @@ -105,7 +105,7 @@ ================================================================== -1) uclient program upgrade to a full solution. +none ================================================================== diff --git a/src/apps/uclient/mainuclient.c b/src/apps/uclient/mainuclient.c index b69548f0..164fdaa6 100644 --- a/src/apps/uclient/mainuclient.c +++ b/src/apps/uclient/mainuclient.c @@ -187,7 +187,7 @@ void recalculate_restapi_hmac(void) { g_upwd[pwd_length] = 0; } } - free(pwd); + turn_free(pwd,strlen(pwd)+1); } } }