From bb6bc6e2f53fd118db1b33b63081a81b1923dd05 Mon Sep 17 00:00:00 2001 From: Petur Olsen Date: Mon, 5 Oct 2015 12:01:02 +0200 Subject: [PATCH] fixed memory leak --- DataManager/src/hpd_service.c | 1 + 1 file changed, 1 insertion(+) diff --git a/DataManager/src/hpd_service.c b/DataManager/src/hpd_service.c index 7464985e..84ed2e09 100644 --- a/DataManager/src/hpd_service.c +++ b/DataManager/src/hpd_service.c @@ -326,6 +326,7 @@ serviceGenerateUri( Service *service ) strcat(uri, "/"); strcat(uri, service->id); + free_pointer(service->uri); service->uri = uri; return HPD_E_SUCCESS; }