diff options
Diffstat (limited to 'src/sysctl.c')
-rw-r--r-- | src/sysctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sysctl.c b/src/sysctl.c index 38ea2d18bc..a8a9422ac3 100644 --- a/src/sysctl.c +++ b/src/sysctl.c @@ -43,6 +43,7 @@ static void apply_sysctl(const char *property, const char *value) { if (!(p = new(char, sizeof(PROC_SYS_PREFIX) + strlen(property)))) { log_error("Out of memory"); exit_code = -ENOMEM; + return; } n = stpcpy(p, PROC_SYS_PREFIX); |