X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-syntax-window.c;h=48a77fc03ec21a7fa3f9cfc4a3ddc6cceedb3c4f;hb=04d2c99833753252b724dd9d4f15cc3a80b6bec8;hp=e3aaa75681930af7c7b3009c225827dab95346ac;hpb=918ac468b75dbfc80a8af78b00b4dd18a714a0ac;p=pspp-builds.git diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index e3aaa756..48a77fc0 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -18,6 +18,7 @@ #include #include +#include "executor.h" #include "helper.h" #include @@ -34,6 +35,8 @@ #include "syntax-editor-source.h" #include +#include "xalloc.h" + #include #define _(msgid) gettext (msgid) #define N_(msgid) msgid @@ -224,7 +227,7 @@ append_suffix (const gchar *filename) return g_strdup_printf ("%s.sps", filename); } - return strdup (filename); + return xstrdup (filename); } /*