Fix prevent issue.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 8 Aug 2013 08:41:13 +0000 (17:41 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 8 Aug 2013 08:41:13 +0000 (17:41 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] CID-23924,
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I36574e5484f5b64f70e92f1f6e596eb38477347e

src/group.c

index e8650a8..d023c51 100644 (file)
@@ -807,6 +807,9 @@ HAPI int group_add_livebox(const char *group, const char *pkgname)
                ptr++;
        }
 
+       /* If some cases, the key is not released, try release it, doesn't need to check NULL */
+       DbgFree(key);
+
        if (state != CLUSTER)
                return LB_STATUS_ERROR_INVALID;