summaryrefslogtreecommitdiffstats
path: root/waltham-transmitter
diff options
context:
space:
mode:
Diffstat (limited to 'waltham-transmitter')
-rw-r--r--waltham-transmitter/transmitter-plugin/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/waltham-transmitter/transmitter-plugin/plugin.c b/waltham-transmitter/transmitter-plugin/plugin.c
index 3a61011..92510c2 100644
--- a/waltham-transmitter/transmitter-plugin/plugin.c
+++ b/waltham-transmitter/transmitter-plugin/plugin.c
@@ -151,6 +151,8 @@ transmitter_surface_gather_state(struct weston_transmitter_surface *txs)
wthp_surface_commit(txs->wthp_surf);
wth_connection_flush(remote->display->connection);
+ free(data);
+ data=NULL;
txs->attach_dx = 0;
txs->attach_dy = 0;
}