awesome-client: fix memleak in history
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
37f4fbfe39
commit
ea5fe413cd
|
@ -169,6 +169,7 @@ main(int argc, char **argv)
|
||||||
msg[msg_len + 1] = '\0';
|
msg[msg_len + 1] = '\0';
|
||||||
send_msg(msg, msg_len + 2);
|
send_msg(msg, msg_len + 2);
|
||||||
recv_msg();
|
recv_msg();
|
||||||
|
p_delete(&msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue