diff --git a/cinera/cinera.c b/cinera/cinera.c index f86587e..3684d9a 100644 --- a/cinera/cinera.c +++ b/cinera/cinera.c @@ -23,7 +23,7 @@ typedef struct version CINERA_APP_VERSION = { .Major = 0, .Minor = 7, - .Patch = 14 + .Patch = 15 }; #include // NOTE(matt): varargs @@ -6998,7 +6998,6 @@ GenerateTopicColours(neighbourhood *N, string Topic) #endif fclose(Topics.Handle); - FreeFile(&Topics); asset *Asset = GetPlaceInBook(&Assets, ASSET_CSS_TOPICS); if(Asset->Known) @@ -7013,6 +7012,8 @@ GenerateTopicColours(neighbourhood *N, string Topic) PlaceAsset(Wrap0(CSSTopics->Filename), CSSTopics->Type, CSSTopics->Variants, CSSTopics->Associated, ASSET_CSS_TOPICS); } } + + FreeFile(&Topics); return RC_SUCCESS; }