diff options
author | onefang | 2021-07-07 12:46:43 +1000 |
---|---|---|
committer | onefang | 2021-07-07 12:46:43 +1000 |
commit | dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13 (patch) | |
tree | 04395b46acfa7359b14013f478eecf5d29ebf132 /src/patches | |
parent | Add gods to OhSilly threat level config. (diff) | |
download | opensim-SC-dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13.zip opensim-SC-dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13.tar.gz opensim-SC-dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13.tar.bz2 opensim-SC-dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13.tar.xz |
Patch for qlibc.
Diffstat (limited to 'src/patches')
-rw-r--r-- | src/patches/qlibc.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/patches/qlibc.patch b/src/patches/qlibc.patch new file mode 100644 index 0000000..ac67deb --- /dev/null +++ b/src/patches/qlibc.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | diff --git a/src/extensions/qconfig.c b/src/extensions/qconfig.c | ||
2 | index 745a28b..87bfd67 100644 | ||
3 | --- a/src/extensions/qconfig.c | ||
4 | +++ b/src/extensions/qconfig.c | ||
5 | @@ -399,6 +399,7 @@ static char *_parsestr(qlisttbl_t *tbl, const char *str) { | ||
6 | } | ||
7 | if ((newstr = tbl->getstr(tbl, varstr, true)) == NULL) { | ||
8 | s = e; // not found | ||
9 | +free(varstr); | ||
10 | continue; | ||
11 | } | ||
12 | break; | ||