Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes to the FreeBSD Makefile.
[spectrwm.git]
/
scrotwm.c
diff --git
a/scrotwm.c
b/scrotwm.c
index
072e71f
..
788f839
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-5509,12
+5509,12
@@
conf_load(char *filename, int keymapping)
goto out;
}
goto out;
}
- if(asprintf(&optsub, "%.*s", wordlen, cp) ==
+ if (asprintf(&optsub, "%.*s", wordlen, cp) ==
-1) {
warnx("%s: line %zd: unable to allocate"
"memory for selector", filename,
lineno);
-1) {
warnx("%s: line %zd: unable to allocate"
"memory for selector", filename,
lineno);
- return (1);
+ goto out;
}
}
cp += wordlen;
}
}
cp += wordlen;