projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more work on datasets
[pspp]
/
src
/
data
/
session.c
diff --git
a/src/data/session.c
b/src/data/session.c
index ae37c76b945c8ae9c69288313f69db41d5b24c15..6dc1334cf206d3f9bddfdbb2626003edabe70dc0 100644
(file)
--- a/
src/data/session.c
+++ b/
src/data/session.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* 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
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)
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);
hmapx_destroy (&s->datasets);
free (s->syntax_encoding);
free (s);