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:
3590ee7
)
fix a segfault when uploading samples with esound
author
Lennart Poettering
<lennart@poettering.net>
Sun, 23 Apr 2006 21:25:27 +0000
(21:25 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 23 Apr 2006 21:25:27 +0000
(21:25 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@791
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/polypcore/core-scache.c
patch
|
blob
|
history
diff --git
a/src/polypcore/core-scache.c
b/src/polypcore/core-scache.c
index
2e8d453
..
82c61a1
100644
(file)
--- a/
src/polypcore/core-scache.c
+++ b/
src/polypcore/core-scache.c
@@
-133,7
+133,7
@@
int pa_scache_add_item(pa_core *c, const char *name, const pa_sample_spec *ss, c
pa_scache_entry *e;
assert(c && name);
- if (chunk->length > PA_SCACHE_ENTRY_SIZE_MAX)
+ if (chunk
&& chunk
->length > PA_SCACHE_ENTRY_SIZE_MAX)
return -1;
if (!(e = scache_add_item(c, name)))