From 608069630f978c2da37bc57ee58342ba9d16f70f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 16 Mar 2012 12:32:09 +0100 Subject: Bug #665129 - Memory leak in EBufferTagger --- widgets/misc/e-buffer-tagger.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/misc') diff --git a/widgets/misc/e-buffer-tagger.c b/widgets/misc/e-buffer-tagger.c index 0baa96ce69..c57632ea69 100644 --- a/widgets/misc/e-buffer-tagger.c +++ b/widgets/misc/e-buffer-tagger.c @@ -75,6 +75,8 @@ init_magic_links (void) if (done) return; + done = TRUE; + for (i = 0; i < G_N_ELEMENTS (mim); i++) { mim[i].preg = g_new0 (regex_t, 1); if (regcomp (mim[i].preg, mim[i].regex, REG_EXTENDED | REG_ICASE)) { -- cgit v1.2.3