From 1f94baea43c031c366decb9c772514a89a7fa372 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sun, 29 Jan 2017 13:17:33 +0100 Subject: ipcpd: Don't strdup() the dif_name in main loop --- src/ipcpd/shim-eth-llc/main.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/ipcpd/shim-eth-llc/main.c') 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()); -- cgit v1.2.3