[lib] CID #37, fix error case leak, cmd_complete_command_real

2006-05-12 Paul Jakma <paul.jakma@sun.com>

	* command.c: (cmd_complete_command_real) Fix leak of cmd_vector
	  in error case, Coverity CID #37.
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 64fa851..dc9999b 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -2,6 +2,8 @@
 
 	* plist.c: (vty_prefix_list_uninstall) Fix potential NULL deref
 	  of prefix and typestr strings, Coverity CID #3.
+	* command.c: (cmd_complete_command_real) Fix leak of cmd_vector
+	  in error case, Coverity CID #37.
 
 2006-03-30 Paul Jakma <paul.jakma@sun.com>