mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 04:43:52 +01:00
*shrug*
This commit is contained in:
12
src/rds95.c
12
src/rds95.c
@@ -55,8 +55,8 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
char control_pipe[51] = "\0";
|
char control_pipe[51] = "\0";
|
||||||
|
|
||||||
pa_simple *rds1_device;
|
pa_simple *rds1_device = NULL;
|
||||||
pa_simple *rds2_device;
|
pa_simple *rds2_device = ;
|
||||||
pa_sample_spec format;
|
pa_sample_spec format;
|
||||||
pa_buffer_attr buffer;
|
pa_buffer_attr buffer;
|
||||||
|
|
||||||
@@ -183,8 +183,12 @@ exit:
|
|||||||
}
|
}
|
||||||
|
|
||||||
pthread_attr_destroy(&attr);
|
pthread_attr_destroy(&attr);
|
||||||
pa_simple_free(rds1_device);
|
if (rds1_device != NULL) {
|
||||||
pa_simple_free(rds2_device);
|
pa_simple_free(rds1_device);
|
||||||
|
}
|
||||||
|
if (rds2_device != NULL) {
|
||||||
|
pa_simple_free(rds2_device);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user