aboutsummaryrefslogtreecommitdiff
path: root/filesystem/src/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'filesystem/src/path.c')
-rw-r--r--filesystem/src/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystem/src/path.c b/filesystem/src/path.c
index 2ce5a04..544a5d1 100644
--- a/filesystem/src/path.c
+++ b/filesystem/src/path.c
@@ -21,7 +21,7 @@ path path_new(const char* str) {
21void path_del(path* path) { 21void path_del(path* path) {
22 if (path) { 22 if (path) {
23 free(path->data); 23 free(path->data);
24 path->data = 0; 24 path->data = nullptr;
25 path->size = 0; 25 path->size = 0;
26 } 26 }
27} 27}