summaryrefslogtreecommitdiff
path: root/lib/cspf.h
diff options
context:
space:
mode:
authorKeelan10 <keelan.cannoo@icloud.com>2023-04-03 11:36:33 +0400
committerKeelan10 <keelan.cannoo@icloud.com>2023-04-03 17:51:48 +0400
commit5aa36ff77b83d50cecf2b9c9854fc439c77d464f (patch)
treebf22467077c9878b285dd73cab6cb7b0398602fd /lib/cspf.h
parentbdf62ec61b343adc007a93a66081d26d1483950a (diff)
sharpd: Fix sharpd memory leak
Free path Signed-off-by: Keelan Cannoo <keelan.cannoo@icloud.com>
Diffstat (limited to 'lib/cspf.h')
-rw-r--r--lib/cspf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cspf.h b/lib/cspf.h
index 3eceaa04af..bba685a617 100644
--- a/lib/cspf.h
+++ b/lib/cspf.h
@@ -191,6 +191,8 @@ extern void cspf_del(struct cspf *algo);
*/
extern struct c_path *compute_p2p_path(struct cspf *algo, struct ls_ted *ted);
+extern void cpath_del(struct c_path *path);
+
#ifdef __cplusplus
}
#endif