network: Fix a possible memory leak in QR code
It's possible that the QR code for the same text has been requested, but for a different size. Fix a memory leak that would happen in those cases.
It's possible that the QR code for the same text has been requested, but for a different size. Fix a memory leak that would happen in those cases.