remove busted free
This commit is contained in:
		| @@ -27,7 +27,6 @@ static void title_tick(State *state) { | ||||
|     size_t text_str_len = snprintf(NULL, 0, "%llu", (unsigned long long)state->ctx->frame_number) + 1; | ||||
|     char *text_str = malloc(text_str_len); | ||||
|     snprintf(text_str, text_str_len, "%llu", (unsigned long long)state->ctx->frame_number); | ||||
|     free(text_str); | ||||
|  | ||||
|     const char *font = "fonts/kenney-pixel.ttf"; | ||||
|     float text_h = 32; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user