aboutsummaryrefslogtreecommitdiff
path: root/src/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jpeg.c')
-rw-r--r--src/jpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jpeg.c b/src/jpeg.c
index 4da2d39e..97254da4 100644
--- a/src/jpeg.c
+++ b/src/jpeg.c
@@ -123,6 +123,7 @@ void *a_Jpeg_image(const char *Type, void *P, CA_Callback_t *Call,
DicEntry = a_Dicache_add_entry(web->url);
DicEntry->DecoderData =
Jpeg_new(web->Image, DicEntry->url, DicEntry->version);
+ a_Dicache_ref(DicEntry->url, DicEntry->version);
} else {
/* Repeated image */
a_Dicache_ref(DicEntry->url, DicEntry->version);