summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-07-13 10:41:31 +0200
committerben <benjaminfranzke@googlemail.com>2010-07-13 10:41:31 +0200
commit148d8bdded18b7788db20a4ec455fe18f73947f2 (patch)
treeebebae836f9837644e117461a0545b3487d5bded /src/interface.c
parentb071118b59b117652d7a45c4104a78d65995329e (diff)
downloadpa-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 'src/interface.c')
0 files changed, 0 insertions, 0 deletions