Another location where mod_rtmp would leak memory.

This commit is contained in:
William King committed 2013-05-24 19:45:38 -07:00
1 parent 194e1ae366
commit dc4209275d
1 file changed
+3 -1
+3 -1
View File
@@ -283,7 +283,9 @@ static amf0_data * amf0_associative_array_read(read_proc_t read_proc, void * use
amf0_data_free(element); amf0_data_free(element);
amf0_data_free(data); amf0_data_free(data);
return NULL; return NULL;
} } else {
amf0_data_free(name);
}
} }
else { else {
amf0_data_free(name); amf0_data_free(name);