summaryrefslogtreecommitdiffstats
path: root/gatchat/gatmux.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-02 19:20:53 -0700
committerMarcel Holtmann <marcel@holtmann.org>2010-04-02 19:20:53 -0700
commit764501482e5e0bafb0cee7d9dd16a69bce645d9c (patch)
tree1e1d1b3de44e44329ea4baefc194e65e1dd6bb67 /gatchat/gatmux.c
parent4733ddaffaaf81cc7ccd5c099c0afd0a99512d1e (diff)
downloadofono-764501482e5e0bafb0cee7d9dd16a69bce645d9c.tar.bz2
Fix some cases where g_try_new should be used
Diffstat (limited to 'gatchat/gatmux.c')
-rw-r--r--gatchat/gatmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/gatmux.c b/gatchat/gatmux.c
index 3902956d..44d2ee8c 100644
--- a/gatchat/gatmux.c
+++ b/gatchat/gatmux.c
@@ -539,7 +539,7 @@ GAtMux *g_at_mux_new(GIOChannel *channel, const GAtMuxDriver *driver)
if (!channel)
return NULL;
- mux = g_new0(GAtMux, 1);
+ mux = g_try_new0(GAtMux, 1);
if (!mux)
return NULL;