mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: Coverity 89138
This commit is contained in:
parent
3709d1293f
commit
6bf5856c34
1 changed files with 2 additions and 1 deletions
|
@ -2220,7 +2220,7 @@ open_initial_calendar(
|
|||
Calendar *c,
|
||||
CSA_return_code *status)
|
||||
{
|
||||
char buf[MAXNAMELEN], *loc, *user;
|
||||
char buf[MAXNAMELEN], *loc, *user = NULL;
|
||||
CSA_flags flags = 0;
|
||||
CSA_extension cb_ext;
|
||||
CSA_extension logon_ext;
|
||||
|
@ -2233,6 +2233,7 @@ open_initial_calendar(
|
|||
|
||||
if ((loc = cm_target2location(c->view->current_calendar)) == NULL) {
|
||||
error_noloc(c, c->view->current_calendar);
|
||||
free(user);
|
||||
return False;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue