diff options
| author | 2023-03-24 10:23:13 -0400 | |
|---|---|---|
| committer | 2023-03-24 10:23:13 -0400 | |
| commit | da0628c00ee4fabfbcae6cb1f6f1ee02e2ff7155 (patch) | |
| tree | 2abfd13f8f5ec4daa6edfb927ffe30dfa11388be | |
| parent | native: use getslist universally (diff) | |
native: fix another segfault
I am bad at C
I am just humble lua developer
plz forgib
| -rw-r--r-- | src/cleanup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleanup.c b/src/cleanup.c index 5e387a3..63a2238 100644 --- a/src/cleanup.c +++ b/src/cleanup.c @@ -1,7 +1,7 @@ #include "jurl.h" void jurl_do_cleanup(struct jurl_cleanup **src) { - while (src) { + while (*src) { struct jurl_cleanup *cur = *src; switch (cur->type) { case JURL_CLEANUP_TYPE_SLIST: |
