summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 6ae9a5eb71..7f93c0c3b1 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -2282,7 +2282,7 @@ static int exec_runtime_allocate(ExecRuntime **rt) {
return 0;
*rt = new0(ExecRuntime, 1);
- if (!rt)
+ if (!*rt)
return -ENOMEM;
(*rt)->n_ref = 1;