OK, another null problem needs fixing
This commit is contained in:
parent
9318d27b2b
commit
b5fd4c2879
|
@ -166,7 +166,10 @@ static PyObject *devctxt_select_bitmap(DevCtxtObject *self, BitmapObject *newbmp
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
Py_INCREF(old_bitmap);
|
Py_INCREF(old_bitmap);
|
||||||
|
self->selected_bitmap = old_bitmap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Log(LDEBUG, "replacement sequence");
|
Log(LDEBUG, "replacement sequence");
|
||||||
Py_DECREF(self->selected_bitmap);
|
Py_DECREF(self->selected_bitmap);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user