Fix memory leak
This commit is contained in:
parent
3016781b52
commit
2c21b59445
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ static char *format_service_msg (struct tgl_state *TLS, struct tgl_message *M) {
|
|||
|
||||
// conv_del_user already printed a message, prevent a redundant message
|
||||
// from being printed by returning NULL
|
||||
g_free (txt);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue