Explorar el Código

* Fix memory leak in RBL checking: Free up r->servers after a successful lookup

Bryan Drewery hace 16 años
padre
commit
4be1b758ae
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/mod/irc.mod/chan.c

+ 1 - 0
src/mod/irc.mod/chan.c

@@ -133,6 +133,7 @@ static void resolve_rbl_callback(int id, void *client_data, const char *host, ch
     }
   }
   free(r->host);
+  delete r->servers;
   return;
 }