downstream: terminal: destroy display at the end. 73/33773/1 accepted/tizen_3.0_ivi accepted/tizen_ivi tizen tizen_3.0_ivi accepted/tizen/ivi/20150115.112423 submit/tizen_ivi/20150114.150636 tizen_3.0_ivi_release
authorJan Ekström <jan.ekstrom@intel.com>
Wed, 14 Jan 2015 12:43:01 +0000 (14:43 +0200)
committerJan Ekström <jan.ekstrom@intel.com>
Wed, 14 Jan 2015 15:01:21 +0000 (17:01 +0200)
The weston-terminal is one of the example clients that
doesn't destroy its display. This fixes valgrind errors
when run under ivi-shell.

Change-Id: I9d3785383ca5cdfab4ac8da484b9a86400ed5be5

clients/terminal.c

index 9b1bc08..b0cffbb 100644 (file)
@@ -3092,6 +3092,7 @@ int main(int argc, char *argv[])
                exit(EXIT_FAILURE);
 
        display_run(d);
+       display_destroy(d);
 
        return 0;
 }