diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-31 02:01:09 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-31 02:01:09 (EDT) |
commit | 3f5f19387218f22c7a0f4c2135d06134ab1d0da8 (patch) | |
tree | 04c32e4d52adc4a3f2341122d16fa9f79b7dbcd8 | |
parent | d47a99e0654bb3ad145bc4e96e509b798ef77454 (diff) | |
download | marquee-3f5f19387218f22c7a0f4c2135d06134ab1d0da8.zip marquee-3f5f19387218f22c7a0f4c2135d06134ab1d0da8.tar.gz marquee-3f5f19387218f22c7a0f4c2135d06134ab1d0da8.tar.bz2 |
view-source: Free user data struct in data callback
-rw-r--r-- | src/view-source.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view-source.c b/src/view-source.c index 3fa07dd..71d3438 100644 --- a/src/view-source.c +++ b/src/view-source.c @@ -77,6 +77,8 @@ data_cb(MqWebView *web_view, GParamSpec G_GNUC_UNUSED *param_spec, data = mq_web_view_get_data(web_view, &length); respond(data_signal_data->request, data, length); g_signal_handler_disconnect(web_view, data_signal_data->handler_id); + g_free(data_signal_data->uri); + g_free(data_signal_data); } void |