Merge branch 'tux3-master'

This commit is contained in:
irungentoo 2014-09-10 13:52:00 -04:00
commit 675f050f53
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -1552,6 +1552,7 @@ MSISession *msi_init_session ( Messenger *messenger, int32_t max_calls )
if (retu == NULL) {
LOGGER_ERROR("Allocation failed! Program might misbehave!");
timer_terminate_session(handler);
return NULL;
}
@ -1561,6 +1562,7 @@ MSISession *msi_init_session ( Messenger *messenger, int32_t max_calls )
if (!(retu->calls = calloc( sizeof (MSICall *), max_calls ))) {
LOGGER_ERROR("Allocation failed! Program might misbehave!");
timer_terminate_session(handler);
free(retu);
return NULL;
}