diff options
Diffstat (limited to 'interpolate.c')
-rw-r--r-- | interpolate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interpolate.c b/interpolate.c index 62701d8435..5d9d1889f0 100644 --- a/interpolate.c +++ b/interpolate.c @@ -8,10 +8,10 @@ #include "interpolate.h" -void interp_set_entry(struct interp *table, int slot, char *value) +void interp_set_entry(struct interp *table, int slot, const char *value) { char *oldval = table[slot].value; - char *newval = value; + char *newval = NULL; if (oldval) free(oldval); |