Project

General

Profile

Actions

Bug #1168

closed

runmodes: CID 1197760: Resource leak (RESOURCE_LEAK)

Added by Victor Julien over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

*** CID 1197760:  Resource leak  (RESOURCE_LEAK)
/src/util-runmodes.c: 671 in RunModeSetLiveCaptureWorkers()
665                     recv_mod_name,
666                     decode_mod_name,
667                     thread_name,
668                     live_dev_c,
669                     aconf,
670                     0);
>>>     CID 1197760:  Resource leak  (RESOURCE_LEAK)
>>>     Variable "live_dev_c" going out of scope leaks the storage it points to.
671         }
672     
673         return 0;
674     }
675     
676     int RunModeSetLiveCaptureSingle(DetectEngineCtx *de_ctx,
Actions

Also available in: Atom PDF