aboutsummaryrefslogtreecommitdiff
path: root/sqlite3/Makefile
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2025-07-07 22:56:36 +1000
committerSteve Bennett <steveb@workware.net.au>2025-07-16 09:34:08 +1000
commitf8bf4be40410df762feaeba5abaed29ca4c7ef99 (patch)
treeacf6bcce9e9890b63cd1ac4cc92beb41dab203d2 /sqlite3/Makefile
parent8d8df96d87c04bebd439d66ba16b6f2ecb17084c (diff)
downloadjimtcl-f8bf4be40410df762feaeba5abaed29ca4c7ef99.zip
jimtcl-f8bf4be40410df762feaeba5abaed29ca4c7ef99.tar.gz
jimtcl-f8bf4be40410df762feaeba5abaed29ca4c7ef99.tar.bz2
core: Jim_SetVariable() now frees value on error
If the value has a zero reference count, free it in the error path. Otherwise callers can't do: Jim_SetVariable(..., Jim_New...()) in case the object is leaked in the error path. Fix various callers that were previously freeing the object in the error path, and add a test to loop.test to show that this was not. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'sqlite3/Makefile')
0 files changed, 0 insertions, 0 deletions