X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fautorecode.c;h=e34e395c62cf75c86e6e5443eae9ac9870330c81;hb=000e3e8c5818476c3afbc75fad9347aefb6e902a;hp=5240423d98b5db3283b75795a322b94ed6ca9d4c;hpb=ad01fea350354a7df11790a561e935a8bffd3636;p=pspp diff --git a/src/autorecode.c b/src/autorecode.c index 5240423d98..e34e395c62 100644 --- a/src/autorecode.c +++ b/src/autorecode.c @@ -354,8 +354,8 @@ autorecode_proc_func (struct ccase *c, void *arc_) if (arc->src_vars[i]->type == NUMERIC) vp->f = v.f; else - vp->c = pool_strndup (arc->src_values_pool, - v.c, arc->src_vars[i]->width); + vp->c = pool_clone (arc->src_values_pool, + v.c, arc->src_vars[i]->width); *vpp = vp; } }