shithub: choc

Download patch

ref: 5409a57f1345db7e12dc5c3ea8578107879e2302
parent: 1843d641566a080f2751348e0ca9a54694e1f348
author: David Carlier <devnexen@gmail.com>
date: Tue Jun 20 11:16:11 EDT 2017

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;
     }