Commits

Marek Denis  committed b579ee2

IpProcessor::ip_to_index: fixed possible memleak

  • Participants
  • Parent commits 8d48193

Comments (0)

Files changed (1)

File modules/processor/IpProcessor/ipproc.cc

             break;
         default:
             LOG(ERROR) << "Unknown family for address " << ip;
-            return 0;
+            idx =  0;
     };
     delete node;
     return idx;