Fix an incorrect call to ast_string_field_free_memory which caused a crash in the...
authorJoshua Colp <jcolp@digium.com>
Thu, 28 May 2009 15:23:29 +0000 (15:23 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 28 May 2009 15:23:29 +0000 (15:23 +0000)
commitea89db8ce05b5eb114033196442f4b40ae4f5cb0
tree725364adfbed92d6e0857835971701bdbc1eae40
parenta7fd763eccedb3b01319f17bdf5b6cefaae670d3
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: https://origsvn.digium.com/svn/asterisk/trunk@197570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/logger.c