diff options
Diffstat (limited to 'src/irmd/prog_table.c')
-rw-r--r-- | src/irmd/prog_table.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irmd/prog_table.c b/src/irmd/prog_table.c index eb2b1966..4b43626c 100644 --- a/src/irmd/prog_table.c +++ b/src/irmd/prog_table.c @@ -110,8 +110,7 @@ void prog_entry_del_name(struct prog_entry * e, struct str_el * s = list_entry(p, struct str_el, next); if (!strcmp(name, s->str)) { list_del(&s->next); - if (s->str != NULL) - free(s->str); + free(s->str); free(s); } } |