diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/cache.c | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -80,6 +80,7 @@ dillo-fltk2 - Enabled colspan=0 in tables parsing. - Fixed a memory leak in cookies.c - Added "standard_widget_colors" preference. It allows a more stylish look. + - Fixed the return value of Cache_parse_multiple_field. Patches: place +- Fixed a problem with locally-installed dpis. - Added code for optional image loading (nice interface) very advanced! diff --git a/src/cache.c b/src/cache.c index 9ad2a60c..56389b14 100644 --- a/src/cache.c +++ b/src/cache.c @@ -448,6 +448,11 @@ static Dlist *Cache_parse_multiple_fields(const char *header, dList_append(fields, field); } } + + if (dList_length(fields) == 0) { + dList_free(fields); + fields = NULL; + } return fields; } |