diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-02-18 11:29:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2019-02-18 11:29:21 +0000 |
commit | 8348d4abf007f26a33f7633bc162ea415081062a (patch) | |
tree | c655c75142c2410386b6f779eb4e7ee2a9a9006a /waltham-transmitter/transmitter-plugin | |
parent | 3f28f47c6d21a708d5ca1d8041a143fce23a574b (diff) | |
parent | 02708daac5a17549752b1d5416bbafa59967ffa2 (diff) |
Merge "transmitter: Free the allocated memory"
Diffstat (limited to 'waltham-transmitter/transmitter-plugin')
-rw-r--r-- | waltham-transmitter/transmitter-plugin/plugin.c | 2 |
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; } |