/* PSPP - a program for statistical analysis.
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2011 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
#include <config.h>
-#include <data/casereader-provider.h>
-#include <data/subcase.h>
+#include "data/casereader-provider.h"
+#include "data/subcase.h"
#include "gl/xalloc.h"
destroy_projection (void *project_)
{
struct casereader_project *project = project_;
- subcase_destroy (&project->old_sc);
- subcase_destroy (&project->new_sc);
+ subcase_uninit (&project->old_sc);
+ subcase_uninit (&project->new_sc);
free (project);
return true;
}
subcase_init (&sc, column, caseproto_get_width (subproto, column),
SC_ASCEND);
reader = casereader_project (subreader, &sc);
- subcase_destroy (&sc);
+ subcase_uninit (&sc);
return reader;
}