From: Daniel Wagner Date: Mon, 21 Nov 2011 15:18:02 +0000 (+0100) Subject: service: Fix memory leak in service_load() X-Git-Tag: 0.78~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1caa0149cdddbafc6b2a5adad4f3c96ed8b31d64;p=platform%2Fupstream%2Fconnman.git service: Fix memory leak in service_load() --- diff --git a/src/service.c b/src/service.c index 4ec8d9b..c453f9e 100644 --- a/src/service.c +++ b/src/service.c @@ -391,6 +391,7 @@ static int service_load(struct connman_service *service) service->state_ipv4 = service->state_ipv6 = CONNMAN_SERVICE_STATE_FAILURE; service->error = string2error(str); + g_free(str); } break; }