diff options
author | 3gg <3gg@shellblade.net> | 2025-06-30 15:29:44 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-06-30 15:29:44 -0700 |
commit | 25a367862dbdfb0fdfdfc6f619af3f0a7e0fe79f (patch) | |
tree | 60269cf9a704c059495f52c3ad5a23794b2698c3 /filesystem/src/path.c | |
parent | 9b3ba8c80360c09dd32ee9645c536161b5dd0cff (diff) |
Use nullptr
Diffstat (limited to 'filesystem/src/path.c')
-rw-r--r-- | filesystem/src/path.c | 2 |
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) { | |||
21 | void path_del(path* path) { | 21 | void 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 | } |