Skip to content

Commit

Permalink
Fixed crash with opening empty assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorks committed Jun 9, 2024
1 parent 19472d5 commit 1807416
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules_resources.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ topazAsset_t * topaz_resources_create_data_asset_from_path(
)) {
topaz_asset_destroy(a);
topaz_table_remove(r->name2asset, name);
return NULL;
}

return a;
Expand Down

0 comments on commit 1807416

Please sign in to comment.