summaryrefslogtreecommitdiff
path: root/src/gui/gui-completion.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-03-08 10:27:58 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-03-08 10:27:58 +0100
commit4608b82e41351c153ff28b17eb39cbf6f288ac1f (patch)
tree5189fb2e0124d555fc0d02eacfcea6ba5e2e0e1a /src/gui/gui-completion.c
parenta44cc9ffde04c0bd0a28e53f5a64afcaa5479c49 (diff)
downloadweechat-4608b82e41351c153ff28b17eb39cbf6f288ac1f.zip
Fix memory leak in filename completion
Diffstat (limited to 'src/gui/gui-completion.c')
-rw-r--r--src/gui/gui-completion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c
index 90d364dfb..40f11f7ab 100644
--- a/src/gui/gui-completion.c
+++ b/src/gui/gui-completion.c
@@ -455,6 +455,7 @@ gui_completion_list_add_filename (struct t_gui_completion *completion)
0, WEECHAT_LIST_POS_SORT);
}
}
+ closedir (dp);
}
free (d_name);