Mitigate memory leak a bit
Get rid of the memory leak in the oid list append