Fix SVACE issue WGID : 56518 24/63624/1 accepted/tizen/mobile/20160325.073630 accepted/tizen/tv/20160325.073656 accepted/tizen/wearable/20160325.073734 submit/tizen_mobile/20160325.041617 submit/tizen_tv/20160325.041605 submit/tizen_wearable/20160325.044527 submit/tizen_wearable/20160325.065534
authormin7.choi <min7.choi@samsung.com>
Fri, 25 Mar 2016 04:05:01 +0000 (13:05 +0900)
committermin7.choi <min7.choi@samsung.com>
Fri, 25 Mar 2016 04:05:01 +0000 (13:05 +0900)
Change-Id: Ic905c7144141c3c91be993bf89a0a51e42bd5f0b
Signed-off-by: min7.choi <min7.choi@samsung.com>
provider/download-provider-client-manager.c

index 3b24bc1..8f6dab3 100644 (file)
@@ -407,7 +407,6 @@ static int __dp_client_new(int clientfd, dp_client_slots_fmt *clients,
 */
        if ((pkg_len = strlen(pkgname)) <= 0) {
                TRACE_ERROR("[CRITICAL] pkgname:%s", pkgname);
-               free(pkgname);
                return DP_ERROR_INVALID_PARAMETER;
        }