aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-08-17 21:29:13 +1000
committeronefang2021-08-17 21:29:13 +1000
commit403ac5aeaaa4e7529ccaad0b77715272aa04afd3 (patch)
tree3d187e80037ea9f0779a1b77b3127622b54d2437
parentAdd member functions to SledjChisl. (diff)
downloadopensim-SC-403ac5aeaaa4e7529ccaad0b77715272aa04afd3.zip
opensim-SC-403ac5aeaaa4e7529ccaad0b77715272aa04afd3.tar.gz
opensim-SC-403ac5aeaaa4e7529ccaad0b77715272aa04afd3.tar.bz2
opensim-SC-403ac5aeaaa4e7529ccaad0b77715272aa04afd3.tar.xz
Memory leak--
-rw-r--r--src/sledjchisl/sledjchisl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index eb80f1c..2428bab 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1689,6 +1689,7 @@ void findWindow(simData *simd, char *sim, char *type, int count, int window, int
1689 snprintf(toybuf, sizeof(toybuf), "%s/IDs_%d.lua", scTemp, window); 1689 snprintf(toybuf, sizeof(toybuf), "%s/IDs_%d.lua", scTemp, window);
1690 qtreetbl_t *IDs = Lua2tree(toybuf, "IDs"); 1690 qtreetbl_t *IDs = Lua2tree(toybuf, "IDs");
1691 snprintf(toybuf, sizeof(toybuf), "%d %d", window, pane); 1691 snprintf(toybuf, sizeof(toybuf), "%d %d", window, pane);
1692 free(simd->paneID);
1692 simd->paneID = xmprintf("%s", qLuaGet(IDs, toybuf)->v.s); 1693 simd->paneID = xmprintf("%s", qLuaGet(IDs, toybuf)->v.s);
1693 freeLuaTree(IDs); 1694 freeLuaTree(IDs);
1694 if (strcmp(backupIARsim, sim) == 0) 1695 if (strcmp(backupIARsim, sim) == 0)