X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fvariable-label.c;h=dcd607fe05f3fb71eacea8ecc4c02538ede1ab99;hb=b74d09af5e07f954c18e7cdb8aca3af47fa10208;hp=7380d3d6f5a7a4e01770f13d7e22fd3802b40bee;hpb=75862bc63003b33702bfd6844b8a4d1c632488b3;p=pspp-builds.git diff --git a/src/language/dictionary/variable-label.c b/src/language/dictionary/variable-label.c index 7380d3d6..dcd607fe 100644 --- a/src/language/dictionary/variable-label.c +++ b/src/language/dictionary/variable-label.c @@ -61,7 +61,7 @@ cmd_variable_labels (void) { if (v[i]->label) free (v[i]->label); - v[i]->label = xstrdup (ds_c_str (&tokstr)); + v[i]->label = ds_xstrdup (&tokstr); } lex_get ();