[evolution] Bug #665129 - Memory leak in EBufferTagger
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #665129 - Memory leak in EBufferTagger
- Date: Fri, 16 Mar 2012 11:32:34 +0000 (UTC)
commit 608069630f978c2da37bc57ee58342ba9d16f70f
Author: Milan Crha <mcrha redhat com>
Date: Fri Mar 16 12:32:09 2012 +0100
Bug #665129 - Memory leak in EBufferTagger
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 0baa96c..c57632e 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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]