diff options
author | vivek <vivek.ellur@samsung.com> | 2014-05-15 18:58:16 +0530 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-06-24 10:22:43 -0700 |
commit | 31732f7c68c4c6c6619285fa23b253dbae2e986b (patch) | |
tree | 373ae030c6a4ff8b2e6a74201113ca4247b962d2 /clients/smoke.c | |
parent | 1478ea54caea6620378e4383d84e0f67d8c4e299 (diff) | |
download | weston-31732f7c68c4c6c6619285fa23b253dbae2e986b.tar.gz weston-31732f7c68c4c6c6619285fa23b253dbae2e986b.tar.bz2 weston-31732f7c68c4c6c6619285fa23b253dbae2e986b.zip |
Clients: Fix memleak issues in various clients of weston
In many clients of weston, Display was not being destroyed so added it.
Also destroy windows, widgets which were not being destroyed.
Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
Reviewed-by: Bryce Harrington <b.harrington@samsung.com>
Diffstat (limited to 'clients/smoke.c')
-rw-r--r-- | clients/smoke.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clients/smoke.c b/clients/smoke.c index 5d976af1..65b6e038 100644 --- a/clients/smoke.c +++ b/clients/smoke.c @@ -329,5 +329,9 @@ int main(int argc, char *argv[]) display_run(d); + widget_destroy(smoke.widget); + window_destroy(smoke.window); + display_destroy(d); + return 0; } |