mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Revert r348518
It should not have happened. The change is actually in upstream and I misread the diffs.
This commit is contained in:
parent
2675e1b91d
commit
adb46ac4c0
1 changed files with 1 additions and 1 deletions
|
|
@ -366,7 +366,7 @@ char *setsval(Cell *vp, const char *s) /* set string val of a Cell */
|
|||
if (donerec == 0)
|
||||
recbld();
|
||||
}
|
||||
t = tostring(s); /* in case it's self-assign */
|
||||
t = s ? tostring(s) : tostring(""); /* in case it's self-assign */
|
||||
if (freeable(vp))
|
||||
xfree(vp->sval);
|
||||
vp->tval &= ~(NUM|CONVC|CONVO);
|
||||
|
|
|
|||
Loading…
Reference in a new issue