Commits

Anonymous committed b579ee2

IpProcessor::ip_to_index: fixed possible memleak

Comments (0)

Files changed (1)

modules/processor/IpProcessor/ipproc.cc

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