Closed xgreenx closed 2 months ago
During decoding arrays, we use MaybeUninit. If we get an error during this process, we will have a memory leak since MaybeUninit doesn't call drop on internal objects.
MaybeUninit
I can have a look at this one while I am blocked on other issues.
Is this the only function where we need to handle errors on partial initialization?
During decoding arrays, we use
MaybeUninit
. If we get an error during this process, we will have a memory leak sinceMaybeUninit
doesn't call drop on internal objects.