diff options
author | Jordan Halase <jordan@halase.me> | 2019-10-28 17:31:15 -0500 |
---|---|---|
committer | Jordan Halase <jordan@halase.me> | 2019-10-28 17:31:15 -0500 |
commit | 56a010b06547b7d414185dbd2532ce209226078c (patch) | |
tree | 6aba6342f9ac5a62755ca2f82cc2e75dc6784f4c | |
parent | dba677e88b302b679582ff50b9c492cce9b501e2 (diff) |
Set errMsg to NULL when cleared
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -105,6 +105,7 @@ void clearErrMsg(struct RenderVulkan *vk) { if (vk->errMsg) { free(vk->errMsg); + vk->errMsg = NULL; } } |