[Oisf-devel] codes of free mem of suricata
Victor Julien
victor at inliniac.net
Wed Feb 2 07:55:00 UTC 2011
On 01/25/2011 10:03 AM, iswalker wrote:
> code version sucrcata-1.1-beta1
>
> the codes miss free mem in suricata
>
> alert_debuglog.c/AlertDebugLogInitCtx
>
> OutputCtx *AlertDebugLogInitCtx(ConfNode *conf)
> {
> ............
>
> /** fill the new LogFileCtx with the specific AlertDebugLog
> configuration */
> ret=AlertDebugLogOpenFileCtx(file_ctx, filename);
>
> if(ret < 0) {
> * LogFileFreeCtx(logfile_ctx); *//the free codes missed, ISwalker
> return NULL;
> }
>
> ............
>
> return output_ctx;
> }
Fixed up, thanks!
--
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------
More information about the Oisf-devel
mailing list