ソースを参照

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

Bryan Drewery 16 年 前
コミット
4be1b758ae
1 ファイル変更1 行追加0 行削除
  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;
 }