diff options
author | dimitri staessens <[email protected]> | 2017-01-29 13:17:33 +0100 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-01-29 13:23:38 +0100 |
commit | 1f94baea43c031c366decb9c772514a89a7fa372 (patch) | |
tree | 14c3f3aa49f62706d5bcf7cd5e87698956a9a599 /src/ipcpd/local/main.c | |
parent | cfc1e421cd222f41dd1c8498d631a31c680e4211 (diff) | |
download | ouroboros-1f94baea43c031c366decb9c772514a89a7fa372.tar.gz ouroboros-1f94baea43c031c366decb9c772514a89a7fa372.zip |
ipcpd: Don't strdup() the dif_name in main loop
Diffstat (limited to 'src/ipcpd/local/main.c')
-rw-r--r-- | src/ipcpd/local/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c index 5117f59d..2448c3a4 100644 --- a/src/ipcpd/local/main.c +++ b/src/ipcpd/local/main.c @@ -153,9 +153,6 @@ static int ipcp_local_bootstrap(struct dif_config * conf) return -1; } - /* this IPCP doesn't need to maintain its dif_name */ - free(conf->dif_name); - ipcp_set_state(IPCP_OPERATIONAL); pthread_create(&local_data.sduloop, NULL, ipcp_local_sdu_loop, NULL); |