projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6411033
)
flist: Make name non-const to avoid casting with pa_xfree().
author
Tanu Kaskinen
<tanuk@iki.fi>
Wed, 7 Mar 2012 07:39:18 +0000
(09:39 +0200)
committer
Tanu Kaskinen
<tanuk@iki.fi>
Wed, 7 Mar 2012 07:39:18 +0000
(09:39 +0200)
src/pulsecore/flist.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/flist.c
b/src/pulsecore/flist.c
index
fa8974a
..
0aa95c7
100644
(file)
--- a/
src/pulsecore/flist.c
+++ b/
src/pulsecore/flist.c
@@
-54,7
+54,7
@@
struct pa_flist_elem {
typedef struct pa_flist_elem pa_flist_elem;
struct pa_flist {
- c
onst c
har *name;
+ char *name;
unsigned size;
pa_atomic_t current_tag;
@@
-141,7
+141,7
@@
void pa_flist_free(pa_flist *l, pa_free_cb_t free_cb) {
free_cb(pa_atomic_ptr_load(&elem->ptr));
}
- pa_xfree(
(char *)
l->name);
+ pa_xfree(l->name);
pa_xfree(l);
}