From: Jan Ekström Date: Wed, 14 Jan 2015 12:43:01 +0000 (+0200) Subject: downstream: terminal: destroy display at the end. X-Git-Tag: accepted/tizen/ivi/20150115.112423^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=profile%2Fivi%2Fweston-ivi-shell.git downstream: terminal: destroy display at the end. 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 --- diff --git a/clients/terminal.c b/clients/terminal.c index 9b1bc08..b0cffbb 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -3092,6 +3092,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); display_run(d); + display_destroy(d); return 0; }