X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsession.c;fp=src%2Fdata%2Fsession.c;h=6dc1334cf206d3f9bddfdbb2626003edabe70dc0;hb=a7db48f8f93e7262209e130dbaf876d88e22d087;hp=ae37c76b945c8ae9c69288313f69db41d5b24c15;hpb=5fbb67fa3559dd54bc225120b85458da3bb3245e;p=pspp diff --git a/src/data/session.c b/src/data/session.c index ae37c76b94..6dc1334cf2 100644 --- a/src/data/session.c +++ b/src/data/session.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2010, 2011, 2012, 2013 Free Software Foundation, Inc. + Copyright (C) 2010, 2011, 2012, 2013, 2016 Free Software Foundation, Inc. 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 @@ -68,7 +68,7 @@ session_destroy (struct session *s) s->active = NULL; HMAPX_FOR_EACH_SAFE (ds, node, next, &s->datasets) - dataset_destroy (ds); + dataset_unref (ds); hmapx_destroy (&s->datasets); free (s->syntax_encoding); free (s);