aboutsummaryrefslogtreecommitdiff
path: root/src/deliverable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/deliverable.c')
-rw-r--r--src/deliverable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index b833811..11213d7 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -105,7 +105,7 @@ int delivery_init_tmpdir(struct Delivery *ctx) {
}
globals.tmpdir = strdup(tmpdir);
- ctx->storage.tmpdir = globals.tmpdir;
+ ctx->storage.tmpdir = strdup(globals.tmpdir);
return unusable;
l_delivery_init_tmpdir_fatal: