shithub: choc

Download patch

ref: a423cc98103a27d7cae7a3a4d110f9600b4df365
parent: 1843d641566a080f2751348e0ca9a54694e1f348
parent: 5409a57f1345db7e12dc5c3ea8578107879e2302
author: Fabian Greffrath <fabian@greffrath.com>
date: Tue Jun 20 13:13:57 EDT 2017

Merge pull request #918 from devnexen/mem_leak_fixes

Tiny memory leak fix in call error path.

--- a/textscreen/txt_window.c
+++ b/textscreen/txt_window.c
@@ -539,6 +539,7 @@
     {
         fprintf(stderr,
                 "xdg-utils is not installed. Can't open this URL:\n%s\n", url);
+        free(cmd);
         return;
     }