Prevent releasing null pointer (ctframe).