diff options
author | Milan Crha <mcrha@redhat.com> | 2012-03-16 19:32:09 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-03-16 19:32:09 +0800 |
commit | 608069630f978c2da37bc57ee58342ba9d16f70f (patch) | |
tree | 5cbd5f1bd6453192b8332d380e90e1f66039bf0d | |
parent | da3bd3696eeb149f0fe96281ad079c1dc278dd0d (diff) | |
download | gsoc2013-evolution-608069630f978c2da37bc57ee58342ba9d16f70f.tar.gz gsoc2013-evolution-608069630f978c2da37bc57ee58342ba9d16f70f.tar.zst gsoc2013-evolution-608069630f978c2da37bc57ee58342ba9d16f70f.zip |
Bug #665129 - Memory leak in EBufferTagger
-rw-r--r-- | widgets/misc/e-buffer-tagger.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)) { |