diff options
author | ben <benjaminfranzke@googlemail.com> | 2010-07-13 10:41:31 +0200 |
---|---|---|
committer | ben <benjaminfranzke@googlemail.com> | 2010-07-13 10:41:31 +0200 |
commit | 148d8bdded18b7788db20a4ec455fe18f73947f2 (patch) | |
tree | ebebae836f9837644e117461a0545b3487d5bded /INSTALL | |
parent | b071118b59b117652d7a45c4104a78d65995329e (diff) | |
download | pa-sink-ctl-148d8bdded18b7788db20a4ec455fe18f73947f2.tar.gz pa-sink-ctl-148d8bdded18b7788db20a4ec455fe18f73947f2.tar.bz2 pa-sink-ctl-148d8bdded18b7788db20a4ec455fe18f73947f2.zip |
stop setting local pntrs NULL when globals needed (tmp commented out)
all *_clear functions get a pointer that should be freed by that function.
after freeing they are set to NULL, but thats only in local scope, i.e:
the global pointer stays NOT NULL
void sink_list_clear(sink_info** sink_list, ...) {
[..]
free(sink_list);
sink_list = NULL;
}
so if it is really intended, all clear functions need to be changed to:
void sink_list_clear(sink_info ***sink_list,...) {
[..]
free(*sink_list);
*sink_list = NULL;
}
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions