mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'mem-leak-fix' of https://github.com/nurupo/InsertProjectNameHere
This commit is contained in:
commit
7d4489b872
|
@ -482,6 +482,7 @@ CSSession *cs_new(const ToxAvCSettings *cs_self, const ToxAvCSettings *cs_peer,
|
||||||
|
|
||||||
if (create_recursive_mutex(cs->queue_mutex) != 0) {
|
if (create_recursive_mutex(cs->queue_mutex) != 0) {
|
||||||
LOGGER_WARNING("Failed to create recursive mutex!");
|
LOGGER_WARNING("Failed to create recursive mutex!");
|
||||||
|
free(cs);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user