aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-11-19 11:02:57 +0100
committerBoris Faure <billiob@gmail.com>2016-11-19 11:02:57 +0100
commit8658ea9d5744a99d14b137394c029395718ad995 (patch)
tree6129a8ccc4bae64ad92c57b5039c64644f7e7ea0
parentlink detection: rewrite moving around the grid (diff)
downloadterminology-8658ea9d5744a99d14b137394c029395718ad995.tar.gz
termio: fix leak. CID1365971
-rw-r--r--src/bin/termio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index e7f4b4f..2d57cef 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -966,7 +966,7 @@ _cb_link_down(void *data,
{
Evas_Object *ctxp;
Eina_Bool absolut = EINA_FALSE;
- const char *raw_link;
+ char *raw_link;
size_t len;
if (sd->pty->selection.is_active)
@@ -1016,6 +1016,7 @@ _cb_link_down(void *data,
_cb_ctxp_dismissed, sd);
evas_object_event_callback_add(ctxp, EVAS_CALLBACK_DEL,
_cb_ctxp_del, sd);
+ free(raw_link);
}
}