mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
At least `Value::operator=` didn't properly unref the `PDF::Object` when it was called. This type of problem is removed by just letting `RefPtr` do its thing. This patch increases the memory consumption by LibPDF by 4 bytes (the other union objects) per value.
1.3 KiB
1.3 KiB