mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
introduce pa_xmalloc() and friends
implement module auto loading git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@103 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
24291aff27
commit
46091a9237
61 changed files with 700 additions and 631 deletions
|
|
@ -42,6 +42,7 @@
|
|||
#include "cli-command.h"
|
||||
#include "util.h"
|
||||
#include "sioman.h"
|
||||
#include "xmalloc.h"
|
||||
|
||||
static struct pa_mainloop *mainloop;
|
||||
|
||||
|
|
@ -147,7 +148,7 @@ int main(int argc, char *argv[]) {
|
|||
assert(buf);
|
||||
r = pa_cli_command_execute(c, cmdline->cli_commands, buf, &cmdline->fail, &cmdline->verbose);
|
||||
fprintf(stderr, s = pa_strbuf_tostring_free(buf));
|
||||
free(s);
|
||||
pa_xfree(s);
|
||||
|
||||
if (r < 0 && cmdline->fail) {
|
||||
fprintf(stderr, __FILE__": failed to initialize daemon.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue