chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: Forgot to dereference pointer when checking for NULL
[elogind.git]
/
src
/
core
/
execute.c
diff --git
a/src/core/execute.c
b/src/core/execute.c
index 6ae9a5eb71ebb0c54816879cf3989d058c922fd9..7f93c0c3b1ebd8a0728e2a3bd85a7e57977b937c 100644
(file)
--- 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;