summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-eth-llc
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2017-01-29 13:17:33 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2017-01-29 13:23:38 +0100
commit1f94baea43c031c366decb9c772514a89a7fa372 (patch)
tree14c3f3aa49f62706d5bcf7cd5e87698956a9a599 /src/ipcpd/shim-eth-llc
parentcfc1e421cd222f41dd1c8498d631a31c680e4211 (diff)
downloadouroboros-1f94baea43c031c366decb9c772514a89a7fa372.tar.gz
ouroboros-1f94baea43c031c366decb9c772514a89a7fa372.zip
ipcpd: Don't strdup() the dif_name in main loop
Diffstat (limited to 'src/ipcpd/shim-eth-llc')
-rw-r--r--src/ipcpd/shim-eth-llc/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c
index da496b07..c59a8054 100644
--- a/src/ipcpd/shim-eth-llc/main.c
+++ b/src/ipcpd/shim-eth-llc/main.c
@@ -857,9 +857,6 @@ static int eth_llc_ipcp_bootstrap(struct dif_config * conf)
pthread_rwlock_unlock(&ipcpi.state_lock);
- /* this IPCP doesn't need to maintain its dif_name */
- free(conf->dif_name);
-
LOG_DBG("Bootstrapped shim IPCP over Ethernet with LLC with api %d.",
getpid());