yutani: Fix a memory leak in yutani_window_advertise_icon

strings isn't deallocated in any functions it's passed to.
This commit is contained in:
Lioncash 2015-03-31 20:26:48 -04:00
parent 0a7a02258d
commit 9bf82d174d

View File

@ -655,6 +655,7 @@ void yutani_window_advertise_icon(yutani_t * yctx, yutani_window_t * window, cha
yutani_msg_t * m = yutani_msg_build_window_advertise(window->wid, flags, offsets, length, strings);
int result = yutani_msg_send(yctx, m);
free(m);
free(strings);
}
void yutani_subscribe_windows(yutani_t * y) {