Fast and reasonably complete (framebuffer) terminal emulator (Zig fork)

Fix issue where ctx may have been accessed NULL in flanterm_fb_init()

mintsuki ef07a10c 88740ef4

Changed files
+4
backends
+4
backends/fb.c
···
return _ctx;
fail:
+
if (ctx == NULL) {
+
return NULL;
+
}
+
#ifndef FLANTERM_FB_DISABLE_BUMP_ALLOC
if (_malloc == bump_alloc) {
bump_alloc_ptr = 0;