X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpsppire-format.c;h=1dde74fb0085638260bb2e1cdf5e2559465192ad;hb=588d9107cd4b6eee3a0c3ece3cf53868e22c52f4;hp=c44684050fc534232a0a6ee9c3d4f3b7c593c870;hpb=a67b7334094008e6575227a5e3c0325b80caf2e0;p=pspp diff --git a/src/ui/gui/psppire-format.c b/src/ui/gui/psppire-format.c index c44684050f..1dde74fb00 100644 --- a/src/ui/gui/psppire-format.c +++ b/src/ui/gui/psppire-format.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2012 Free Software Foundation + Copyright (C) 2012, 2022 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -16,12 +16,13 @@ #include #include "ui/gui/psppire-format.h" +#include "ui/gui/glibfix.h" static gpointer psppire_format_copy (gpointer boxed) { struct fmt_spec *format = boxed; - return g_memdup (format, sizeof *format); + return g_memdup2 (format, sizeof *format); } static void