pfring: should not call free

remotes/origin/master-1.1.x
Eric Leblond 14 years ago
parent 93cf2b1690
commit cc7b80437a

@ -388,14 +388,9 @@ int RunModeIdsPfringAutoFp(DetectEngineCtx *de_ctx)
live_dev);
if (ret != 0) {
printf("ERROR: Unable to start runmode\n");
if (live_dev)
SCFree(live_dev);
exit(EXIT_FAILURE);
}
if (live_dev)
SCFree(live_dev);
SCLogInfo("RunModeIdsPfringAutoFp initialised");
#endif /* HAVE_PFRING */
@ -443,14 +438,9 @@ int RunModeIdsPfringSingle(DetectEngineCtx *de_ctx)
live_dev);
if (ret != 0) {
printf("ERROR: Unable to start runmode\n");
if (live_dev)
SCFree(live_dev);
exit(EXIT_FAILURE);
}
if (live_dev)
SCFree(live_dev);
SCLogInfo("RunModeIdsPfringSingle initialised");
#endif /* HAVE_PFRING */

Loading…
Cancel
Save