1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine autofree, only free object, never free arrays

This commit is contained in:
winlin 2014-05-14 09:41:41 +08:00
parent 300f264e92
commit dc66c525fd
17 changed files with 160 additions and 155 deletions

View file

@ -488,7 +488,7 @@ int SrsConfig::reload()
srs_info("config reloader parse file success.");
SrsConfDirective* old_root = root;
SrsAutoFree(SrsConfDirective, old_root, false);
SrsAutoFree(SrsConfDirective, old_root);
root = conf.root;
conf.root = NULL;