projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c9a09b
)
conf-parser: properly initialize variable we free() later (llvm-clang-analyzer)
author
Lennart Poettering
<lennart@poettering.net>
Tue, 8 Sep 2009 21:51:39 +0000
(23:51 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 8 Sep 2009 21:51:39 +0000
(23:51 +0200)
src/pulsecore/conf-parser.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/conf-parser.c
b/src/pulsecore/conf-parser.c
index
b4ab23c
..
dd4a99e
100644
(file)
--- a/
src/pulsecore/conf-parser.c
+++ b/
src/pulsecore/conf-parser.c
@@
-113,7
+113,7
@@
static int parse_line(const char *filename, unsigned line, char **section, const
return 0;
if (pa_startswith(b, ".include ")) {
- char *path, *fn;
+ char *path
= NULL
, *fn;
int r;
fn = strip(b+9);