aboutsummaryrefslogtreecommitdiffstats
path: root/main/logger.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-28 15:23:29 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-28 15:23:29 +0000
commitca6e1537ebad716c0e2dfa2a36e18b7ef0ac605e (patch)
tree725364adfbed92d6e0857835971701bdbc1eae40 /main/logger.c
parent6553d7e59eb4189e78cdf2b0110124d6cfd3d29f (diff)
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
Diffstat (limited to 'main/logger.c')
-rw-r--r--main/logger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/logger.c b/main/logger.c
index 8794ef82b..2c1d9ab17 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -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);
}