]> source.dussan.org Git - rspamd.git/commitdiff
Plug internet address objects leak
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 22 Oct 2015 15:35:41 +0000 (16:35 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 22 Oct 2015 15:35:41 +0000 (16:35 +0100)
src/lua/lua_util.c

index 73099621f5615198719c38edb43231a9ae362a1c..0ea6f4d54cc400c3ec1cfb453da361bb3777982d 100644 (file)
@@ -595,6 +595,8 @@ lua_util_parse_addr (lua_State *L)
 
                                lua_rawseti (L, -2, (i + 1));
                        }
+
+                       g_object_unref (ia);
                }
        }
        else {