aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--notify.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/notify.c b/notify.c
index c82c86f0..c53a3110 100644
--- a/notify.c
+++ b/notify.c
@@ -504,10 +504,8 @@ notify_icon_free(struct notification_icon *icon)
{
if (icon->tmp_file_name != NULL) {
unlink(icon->tmp_file_name);
- if (icon->tmp_file_fd >= 0) {
- xassert(icon->tmp_file_fd > 0); // DEBUG
+ if (icon->tmp_file_fd >= 0)
close(icon->tmp_file_fd);
- }
}
free(icon->id);