Merge branch 'maint'

This commit is contained in:
Nikos Tsipinakis 2018-05-06 13:36:07 +03:00
commit 7a9187728c
3 changed files with 8 additions and 2 deletions

View File

@ -6,6 +6,12 @@
- `fullscreen` rule to hide notifications when a fullscreen window is active
## 1.3.2 - 2018-05-06
### Fixed
- Crash when trying to load an invalid or corrupt icon (#512)
## 1.3.1 - 2018-01-30
### Fixed

View File

@ -3,7 +3,7 @@
include config.mk
VERSION := "1.3.1-non-git"
VERSION := "1.3.2-non-git"
ifneq ($(wildcard ./.git/),)
VERSION := $(shell git describe --tags)
endif

View File

@ -330,7 +330,7 @@ static GdkPixbuf *get_pixbuf_from_file(const char *icon_path)
GError *error = NULL;
pixbuf = gdk_pixbuf_new_from_file(icon_path, &error);
if (pixbuf == NULL)
g_free(error);
g_error_free(error);
}
return pixbuf;
}