set-option command to set meta.

This commit is contained in:
Nicholas Marriott
2007-10-04 10:11:32 +00:00
parent 774b556669
commit 57157a1cde
10 changed files with 186 additions and 24 deletions

View File

@ -1,4 +1,4 @@
/* $Id: cmd-new-session.c,v 1.3 2007-10-04 00:02:10 nicm Exp $ */
/* $Id: cmd-new-session.c,v 1.4 2007-10-04 10:11:32 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -79,10 +79,8 @@ cmd_new_session_parse(void **ptr, int argc, char **argv, char **cause)
usage:
usage(cause, "%s", cmd_new_session_usage());
if (data->name != NULL)
xfree(data->name);
xfree(data);
cmd_new_session_free(data);
return (-1);
}