diff options
Diffstat (limited to 'gatchat/gatmux.c')
-rw-r--r-- | gatchat/gatmux.c | 2 |
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; |