summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/main.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-03-22 15:56:41 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-22 15:56:41 +0100
commitf8d633d70f79d75935787c524ab0120159556fa3 (patch)
tree83ca1ff3efcb887e8986e73ea16a06bf9cad3ec7 /src/ipcpd/normal/main.c
parent4057695fe65dd0b8c8604c75d5f60d265f0dbf9a (diff)
downloadouroboros-f8d633d70f79d75935787c524ab0120159556fa3.tar.gz
ouroboros-f8d633d70f79d75935787c524ab0120159556fa3.zip
ipcpd: normal: Fix memory leaks
This fixes some memleaks as reported by valgrind.
Diffstat (limited to 'src/ipcpd/normal/main.c')
-rw-r--r--src/ipcpd/normal/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c
index 82381ba7..00ecaae9 100644
--- a/src/ipcpd/normal/main.c
+++ b/src/ipcpd/normal/main.c
@@ -217,6 +217,8 @@ void shutdown_components(void)
ribmgr_fini();
addr_auth_fini();
+
+ free(ipcpi.dif_name);
}
static int normal_ipcp_enroll(char * dst_name)