Another location where mod_rtmp would leak memory.

This commit is contained in:
William King 2013-05-24 19:45:24 -07:00
parent 83ae82fd2d
commit 6320042f6b
1 changed files with 3 additions and 1 deletions

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);