forked from github/server
fix memory leak, not cleaning up deadhash
This commit is contained in:
parent
5f915948f5
commit
a41f3dbe27
3 changed files with 12 additions and 11 deletions
20
.gitmodules
vendored
20
.gitmodules
vendored
|
@ -1,31 +1,31 @@
|
||||||
[submodule "lunit"]
|
[submodule "lunit"]
|
||||||
path = lunit
|
path = lunit
|
||||||
url = git://github.com/ennorehling/lunit.git
|
url = git@github.com:ennorehling/lunit.git
|
||||||
[submodule "cmake"]
|
[submodule "cmake"]
|
||||||
path = cmake
|
path = cmake
|
||||||
url = git://github.com/ennorehling/cmake.git
|
url = git@github.com:ennorehling/cmake.git
|
||||||
[submodule "quicklist"]
|
[submodule "quicklist"]
|
||||||
path = quicklist
|
path = quicklist
|
||||||
url = git://github.com/ennorehling/quicklist.git
|
url = git@github.com:ennorehling/quicklist.git
|
||||||
[submodule "critbit"]
|
[submodule "critbit"]
|
||||||
path = critbit
|
path = critbit
|
||||||
url = git://github.com/ennorehling/critbit.git
|
url = git@github.com:ennorehling/critbit.git
|
||||||
[submodule "dlmalloc"]
|
[submodule "dlmalloc"]
|
||||||
path = dlmalloc
|
path = dlmalloc
|
||||||
url = git://github.com/ennorehling/dlmalloc.git
|
url = git@github.com:ennorehling/dlmalloc.git
|
||||||
[submodule "cutest"]
|
[submodule "cutest"]
|
||||||
path = cutest
|
path = cutest
|
||||||
url = git://github.com/ennorehling/cutest.git
|
url = git@github.com:ennorehling/cutest.git
|
||||||
[submodule "iniparser"]
|
[submodule "iniparser"]
|
||||||
path = iniparser
|
path = iniparser
|
||||||
url = git://github.com/ennorehling/iniparser.git
|
url = git@github.com:ennorehling/iniparser.git
|
||||||
[submodule "cJSON"]
|
[submodule "cJSON"]
|
||||||
path = cJSON
|
path = cJSON
|
||||||
url = git://github.com/ennorehling/cJSON.git
|
url = git@github.com:ennorehling/cJSON.git
|
||||||
[submodule "storage"]
|
[submodule "storage"]
|
||||||
path = storage
|
path = storage
|
||||||
url = git://github.com/ennorehling/storage.git
|
url = git@github.com:ennorehling/storage.git
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "tolua"]
|
[submodule "tolua"]
|
||||||
path = tolua
|
path = tolua
|
||||||
url = git://github.com/ennorehling/tolua.git
|
url = git@github.com:ennorehling/tolua.git
|
||||||
|
|
2
critbit
2
critbit
|
@ -1 +1 @@
|
||||||
Subproject commit 934c2dd94d41da19637a76a1a8b3dfeb7aa8524d
|
Subproject commit 971836241277e37274aa3110344836499816ff21
|
|
@ -872,6 +872,7 @@ void free_factions(void) {
|
||||||
while (deadhash[i]) {
|
while (deadhash[i]) {
|
||||||
dead *d = deadhash[i];
|
dead *d = deadhash[i];
|
||||||
deadhash[i] = d->nexthash;
|
deadhash[i] = d->nexthash;
|
||||||
|
free(d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free_flist(&factions);
|
free_flist(&factions);
|
||||||
|
|
Loading…
Reference in a new issue