X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-format.c;h=392ac73b2d19e2440817464207f2c82a42676573;hb=b6604844de4aadfb63903b7e4df6bf0102eadfef;hp=c44684050fc534232a0a6ee9c3d4f3b7c593c870;hpb=99fbdf32abded5630e8840a4f4449ea2d9230f26;p=pspp diff --git a/src/ui/gui/psppire-format.c b/src/ui/gui/psppire-format.c index c44684050f..392ac73b2d 100644 --- a/src/ui/gui/psppire-format.c +++ b/src/ui/gui/psppire-format.c @@ -21,7 +21,7 @@ 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