projects
/
platform
/
core
/
uifw
/
libtdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83f2396
)
virtual output: free memory for available modes when voutput is destroyed.
29/184629/2
author
Seunghun Lee
<shiin.lee@samsung.com>
Thu, 19 Jul 2018 10:17:02 +0000
(19:17 +0900)
committer
Junkyeong Kim
<jk0430.kim@samsung.com>
Tue, 24 Jul 2018 11:37:45 +0000
(11:37 +0000)
Change-Id: I56c732d55d1bdeef8b471cc10c5682adcdfa35c5
client/tdm_client.c
patch
|
blob
|
history
diff --git
a/client/tdm_client.c
b/client/tdm_client.c
index
9fa0ab5
..
b1af3f1
100644
(file)
--- a/
client/tdm_client.c
+++ b/
client/tdm_client.c
@@
-1740,6
+1740,9
@@
tdm_client_voutput_destroy(tdm_client_voutput *voutput)
if (!private_voutput)
return;
+ if (private_voutput->available_modes.modes)
+ free(private_voutput->available_modes.modes);
+
wl_tdm_voutput_destroy(private_voutput->wl_voutput);
free(private_voutput);