1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

ffserver: free nacl as needed

Should fix FFmpeg Coverity Scan issue #732268

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2014-04-25 18:19:16 -03:00
parent b2682db34c
commit 107f2468c4

View File

@ -1365,7 +1365,8 @@ static void parse_acl_row(FFStream *stream, FFStream* feed, IPAddressACL *ext_ac
naclp = &(*naclp)->next;
*naclp = nacl;
}
} else
av_free(nacl);
}
}