When opening another file in the same connection, cleanup the current one
commita492179dc4bf313d4ddf1b3b2bac27a3ee2390c7
authorBen Kibbey <bjk@luxsci.net>
Thu, 2 Sep 2010 00:05:48 +0000 (1 20:05 -0400)
committerBen Kibbey <bjk@luxsci.net>
Thu, 2 Sep 2010 00:47:55 +0000 (1 20:47 -0400)
treefffb1019646a7481aad52a9cb87171d12c02fd9c
parentac0f25238a7f0143d5b991ab54c52cef19a508ab
When opening another file in the same connection, cleanup the current one
before parsing options or doing anything else. The currently opened file
will be closed if there is an error opening the new one. Previously,
current file was left open.
src/commands.c