diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-10-31 12:05:07 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2023-10-31 12:05:07 -0400 |
commit | a3f18180ea3a5aa15f75623637152800424ce8fd (patch) | |
tree | 90abf9aaf2dd2d751a3f66c633ee4013fd48a5d6 /src/str.c | |
parent | 8a2e123abe5bbfc8787035e5b8f77fbccdec113b (diff) | |
download | stasis-a3f18180ea3a5aa15f75623637152800424ce8fd.tar.gz |
Fixes potential double-free condition
* Only free pStrList->data[i] and pStrList->data if they are not NULL
* Free tokenized string after append
Diffstat (limited to 'src/str.c')
0 files changed, 0 insertions, 0 deletions