diff options
Diffstat (limited to 'render/html_object.c')
-rw-r--r-- | render/html_object.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/render/html_object.c b/render/html_object.c index ce0f21f40..933950ec3 100644 --- a/render/html_object.c +++ b/render/html_object.c @@ -593,9 +593,10 @@ nserror html_object_abort_objects(html_content *htmlc) hlcache_handle_abort(object->content); hlcache_handle_release(object->content); object->content = NULL; - - htmlc->base.active--; - LOG("%d fetches active", htmlc->base.active); + if (object->box != NULL) { + htmlc->base.active--; + LOG("%d fetches active", htmlc->base.active); + } break; } |