aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-07-07 12:46:43 +1000
committeronefang2021-07-07 12:46:43 +1000
commitdd7e6cb83dd95b9d83a0ed8d2672bd24a614da13 (patch)
tree04395b46acfa7359b14013f478eecf5d29ebf132
parentAdd gods to OhSilly threat level config. (diff)
downloadopensim-SC-dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13.zip
opensim-SC-dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13.tar.gz
opensim-SC-dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13.tar.bz2
opensim-SC-dd7e6cb83dd95b9d83a0ed8d2672bd24a614da13.tar.xz
Patch for qlibc.
-rwxr-xr-xsrc/BuildIt.sh3
-rw-r--r--src/patches/qlibc.patch12
2 files changed, 15 insertions, 0 deletions
diff --git a/src/BuildIt.sh b/src/BuildIt.sh
index d9320a4..20510b3 100755
--- a/src/BuildIt.sh
+++ b/src/BuildIt.sh
@@ -60,6 +60,9 @@ echo ""
60if [ ! -d git-sub-modules/qlibc ]; then 60if [ ! -d git-sub-modules/qlibc ]; then
61 pushd git-sub-modules >/dev/null 61 pushd git-sub-modules >/dev/null
62 git clone https://github.com/wolkykim/qlibc.git 62 git clone https://github.com/wolkykim/qlibc.git
63 pushd qlibc >/dev/null
64 patch -p1 <../../patches/qlibc.patch
65 popd >/dev/null
63 popd >/dev/null 66 popd >/dev/null
64else 67else
65 pushd git-sub-modules/qlibc >/dev/null 68 pushd git-sub-modules/qlibc >/dev/null
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 @@
1diff --git a/src/extensions/qconfig.c b/src/extensions/qconfig.c
2index 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;