zero-initialize the msg-scan (subscan) allocated array, so if an uninitialized
is ever written to disk, it'll be zeroes not garbage. Also, NULL the subscan pointer after freeing (and don't free if it's NULL).
Loading
Please register or sign in to comment