From 5aa36ff77b83d50cecf2b9c9854fc439c77d464f Mon Sep 17 00:00:00 2001 From: Keelan10 Date: Mon, 3 Apr 2023 11:36:33 +0400 Subject: sharpd: Fix sharpd memory leak Free path Signed-off-by: Keelan Cannoo --- lib/cspf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/cspf.c') diff --git a/lib/cspf.c b/lib/cspf.c index b92c9cb395..6a0fb7f63c 100644 --- a/lib/cspf.c +++ b/lib/cspf.c @@ -88,7 +88,7 @@ static struct c_path *cpath_copy(struct c_path *dest, const struct c_path *src) * * @param path Constrained Path structure to be deleted */ -static void cpath_del(struct c_path *path) +void cpath_del(struct c_path *path) { if (!path) return; -- cgit v1.2.3