Fixed memory leak in icon loading

This commit is contained in:
o9000
2016-08-08 10:56:06 +02:00
parent 8b08930268
commit 2857b96c4d
3 changed files with 7 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ void copy_file(const char *path_src, const char *path_dest);
// Strips key and value.
// Values may contain spaces and the equal sign.
// Returns 1 if both key and value could be read, zero otherwise.
int parse_line(const char *line, char **key, char **value);
gboolean parse_line(const char *line, char **key, char **value);
void extract_values(const char *value, char **value1, char **value2, char **value3);