summaryrefslogtreecommitdiff
path: root/lib/cspf.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-04-05 10:05:49 +0300
committerGitHub <noreply@github.com>2023-04-05 10:05:49 +0300
commit27a0311fcc20cba1247cce68c265ba026ca32775 (patch)
tree0ea7e87ebdee036a6d2fa3404e08ac04305de20d /lib/cspf.c
parent92c4494ce5ef69ce436ed06fb03c352987dede0f (diff)
parent5aa36ff77b83d50cecf2b9c9854fc439c77d464f (diff)
Merge pull request #13194 from Keelan10/sharpd-memory-leak
[WIP] sharpd: fix leak
Diffstat (limited to 'lib/cspf.c')
-rw-r--r--lib/cspf.c2
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;