Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/inputs-channel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/inputs-channel.c b/server/inputs-channel.c index 8e17cc724..b8944cb0f 100644 --- a/server/inputs-channel.c +++ b/server/inputs-channel.c @@ -77,7 +77,7 @@ static SpiceTabletInstance* inputs_channel_get_tablet(InputsChannel *inputs); static SpiceKbdState* spice_kbd_state_new(RedsState *reds) { - SpiceKbdState *st = spice_new0(SpiceKbdState, 1); + SpiceKbdState *st = g_new0(SpiceKbdState, 1); st->reds = reds; return st; } @@ -93,7 +93,7 @@ struct SpiceMouseState { static SpiceMouseState* spice_mouse_state_new(void) { - return spice_new0(SpiceMouseState, 1); + return g_new0(SpiceMouseState, 1); } struct SpiceTabletState { @@ -102,7 +102,7 @@ struct SpiceTabletState { static SpiceTabletState* spice_tablet_state_new(void) { - return spice_new0(SpiceTabletState, 1); + return g_new0(SpiceTabletState, 1); } RedsState* spice_tablet_state_get_server(SpiceTabletState *st) -- 2.13.5 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel