diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-04-11 13:29:13 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-04-11 15:05:16 +0200 |
commit | 67d000cdc37009a975d0794f6fd347dfb17743eb (patch) | |
tree | dfc3f46ae2643ebaf6224295fe9df48deee470aa /lib/src/delsvc.c | |
parent | 77725291efd609339cc560bec646782bc09ffb90 (diff) |
Cleanup: redeuce number of allocations in rdsvc
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'lib/src/delsvc.c')
-rw-r--r-- | lib/src/delsvc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/src/delsvc.c b/lib/src/delsvc.c index 968aa0d..d13c97f 100644 --- a/lib/src/delsvc.c +++ b/lib/src/delsvc.c @@ -31,7 +31,6 @@ void delsvc(service_t *svc) svc->exec = e->next; free(e->argv); - free(e->raw_argv); free(e); } @@ -40,7 +39,6 @@ void delsvc(service_t *svc) free(svc->before); free(svc->after); - free(svc->name); free(svc->desc); free(svc->exec); free(svc->ctty); |