aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-03-22 17:27:12 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-03-22 22:20:29 -0400
commit7095ba510cffd59a1c8c5174e155a5c49ac528f1 (patch)
treef2d7ba38a216712ef9cdf76ad6e8207267611171
parent124b42671cab1c96d99d292cd76f91b3b2a49e13 (diff)
downloadstasis-7095ba510cffd59a1c8c5174e155a5c49ac528f1.tar.gz
Return on error immediately to avoid an invalid read
-rw-r--r--src/deliverable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index c424033..8f37b28 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -866,7 +866,6 @@ struct StrList *delivery_build_wheels(struct Delivery *ctx) {
result = strlist_init();
if (!result) {
perror("unable to allocate memory for string list");
- result = NULL;
return NULL;
}