summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2020-12-21 03:09:39 (GMT)
committerKevin Walzer <kw@codebykevin.com>2020-12-21 03:09:39 (GMT)
commitefd9c6f6dde0c7105dbb895072ee8f617cfc90a3 (patch)
tree9e1a7aee55fede5eab1579a909aab3d439465a5c /unix
parent60bf56c5673ea3f513080ac2091e84c19ceffa32 (diff)
downloadtk-efd9c6f6dde0c7105dbb895072ee8f617cfc90a3.zip
tk-efd9c6f6dde0c7105dbb895072ee8f617cfc90a3.tar.gz
tk-efd9c6f6dde0c7105dbb895072ee8f617cfc90a3.tar.bz2
Patch to fix memory leak in runtime linking of libnotify from Christian Werner
Diffstat (limited to 'unix')
-rwxr-xr-xunix/tkUnixSysNotify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tkUnixSysNotify.c b/unix/tkUnixSysNotify.c
index afecb8e..e764929 100755
--- a/unix/tkUnixSysNotify.c
+++ b/unix/tkUnixSysNotify.c
@@ -140,6 +140,7 @@ SysNotifyCmd(
notify_notification_show(notif, NULL);
Tcl_DStringFree(&dsm);
Tcl_DStringFree(&dst);
+ Tcl_FreeEncoding(enc);
}
return TCL_OK;