diff options
| author | Keelan10 <keelan.cannoo@icloud.com> | 2023-04-03 11:36:33 +0400 |
|---|---|---|
| committer | Keelan10 <keelan.cannoo@icloud.com> | 2023-04-03 17:51:48 +0400 |
| commit | 5aa36ff77b83d50cecf2b9c9854fc439c77d464f (patch) | |
| tree | bf22467077c9878b285dd73cab6cb7b0398602fd /lib/cspf.c | |
| parent | bdf62ec61b343adc007a93a66081d26d1483950a (diff) | |
sharpd: Fix sharpd memory leak
Free path
Signed-off-by: Keelan Cannoo <keelan.cannoo@icloud.com>
Diffstat (limited to 'lib/cspf.c')
| -rw-r--r-- | lib/cspf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
