Skip to content

Commit

Permalink
Fix link memory usage reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Aug 12, 2024
1 parent 56d0bed commit ce9686e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htmldoc/ps-pdf.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,8 @@ pspdf_debug_stats()

if (r->type == RENDER_TEXT)
bytes += strlen((char *)r->data.text.buffer);
else if (r->type == RENDER_LINK)
bytes += strlen((char *)r->data.link);
}
}

Expand Down

0 comments on commit ce9686e

Please sign in to comment.