FIx potential segfault (CID 168)