summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2017-02-03 20:38:39 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2017-02-03 20:50:48 +0100
commita30e244407655d16429ef442ac23db43a548bf95 (patch)
tree3a47f2b2db895173a1e3605df3fbdc925b7b127b /src/ipcpd/normal
parent29fe780c782b74f516a47521297848095a8f5ede (diff)
downloadouroboros-a30e244407655d16429ef442ac23db43a548bf95.tar.gz
ouroboros-a30e244407655d16429ef442ac23db43a548bf95.zip
ipcpd: Remove strdup() from ipcp main loop
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r--src/ipcpd/normal/dir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ipcpd/normal/dir.c b/src/ipcpd/normal/dir.c
index d9d15f72..49283529 100644
--- a/src/ipcpd/normal/dir.c
+++ b/src/ipcpd/normal/dir.c
@@ -123,8 +123,6 @@ int dir_name_reg(char * name)
LOG_DBG("Registered %s.", name);
pathname_destroy(path);
- free(name);
-
return 0;
}