dect
/
asterisk
Archived
13
0
Fork 0

Fix an incorrect call to ast_string_field_free_memory which caused a crash in the logger.

Since the message structure is allocated using ast_calloc_with_stringfields we do not need to
free the memory used for the stringfields as it will get freed when the message structure is.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197570 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2009-05-28 15:23:29 +00:00
parent 6553d7e59e
commit ca6e1537eb
1 changed files with 0 additions and 1 deletions

View File

@ -987,7 +987,6 @@ static void *logger_thread(void *data)
logger_print_verbose(msg);
/* Free the data since we are done */
ast_string_field_free_memory(msg);
ast_free(msg);
}