aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/null_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-03 14:51:34 +0100
committerMax Kellermann <max@duempel.org>2009-01-03 14:51:34 +0100
commit2189796b96f94e93423a4f9931c7199d7da6dfa7 (patch)
tree294524c72231c2d36da917f888a1b0f2d84ab6b6 /src/output/null_plugin.c
parent3978b7b1eab754fe260820da649e342ed5691b14 (diff)
downloadmpd-2189796b96f94e93423a4f9931c7199d7da6dfa7.tar.gz
mpd-2189796b96f94e93423a4f9931c7199d7da6dfa7.tar.xz
mpd-2189796b96f94e93423a4f9931c7199d7da6dfa7.zip
null, fifo: use GLib instead of utils.h
Diffstat (limited to 'src/output/null_plugin.c')
-rw-r--r--src/output/null_plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/output/null_plugin.c b/src/output/null_plugin.c
index dd85e6389..d821d6aee 100644
--- a/src/output/null_plugin.c
+++ b/src/output/null_plugin.c
@@ -18,7 +18,6 @@
#include "../output_api.h"
#include "../timer.h"
-#include "../utils.h"
#include <glib.h>
@@ -31,7 +30,7 @@ null_initDriver(G_GNUC_UNUSED struct audio_output *audioOutput,
G_GNUC_UNUSED const struct audio_format *audio_format,
G_GNUC_UNUSED ConfigParam *param)
{
- struct null_data *nd = xmalloc(sizeof(*nd));
+ struct null_data *nd = g_new(struct null_data, 1);
nd->timer = NULL;
return nd;
}