psppire-data-window: Destroy dataset from finalize.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 10 Jul 2012 04:47:02 +0000 (21:47 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 10 Jul 2012 04:56:11 +0000 (21:56 -0700)
commit93eed000285698f808628cd28899040379d6cc39
treed950c2dce5e9fe878bf2995b442e15626857198e
parente4285da27e87ed3f0fb662783e2ac6611cf467f3
psppire-data-window: Destroy dataset from finalize.

One rule of thumb for "destroy" is that it should just unref
GObjects.  This commit fixes that up for
psppire_data_window_dispose().  Previously, this could not be done
because of a reference leak in psppire_data_window_finish_init()
that caused doing the dataset destroy in finalize to crash, but
that problem was fixed in the previous commit.
src/ui/gui/psppire-data-window.c