fix: missing deallocating

This commit is contained in:
Dien-Nhung Nguyen-Phu
2024-06-15 11:59:07 +07:00
parent 8039fa4fd7
commit 3e9252f426

View File

@@ -26,6 +26,7 @@ void xbm2fb(xbm_t *xbm, uint16_t *fb, int col, int row)
for (int i=0; i < xbm->w; i++) {
fb[col+i] = tmpfb[i];
}
free(tmpfb);
}
void xbm2fb_dirty(xbm_t *xbm, uint16_t *fb, int col, int row)