diff options
Diffstat (limited to 'lib/getdef.c')
-rw-r--r-- | lib/getdef.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/getdef.c b/lib/getdef.c index 2e6022fa..dcd1fe72 100644 --- a/lib/getdef.c +++ b/lib/getdef.c @@ -388,10 +388,7 @@ int putdef_str (const char *name, const char *value) return -1; } - if (NULL != d->value) { - free (d->value); - } - + free (d->value); d->value = cp; return 0; } |