cleanup, null checks. etc.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6673 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-12-11 21:31:57 +00:00
1 parent 21db9795d0
commit e46266fb4f
8 files changed
+28 -18

No files matched your search

+1
View File
@@ -850,6 +850,7 @@ SWITCH_DECLARE(switch_xml_t) switch_event_xmlize(switch_event_t *event, const ch
ret = vasprintf(&data, fmt, ap);
#else
data = (char *) malloc(2048);
switch_assert(data);
ret = vsnprintf(data, 2048, fmt, ap);
#endif
va_end(ap);