1
0
Fork 0
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:
Peter Howkins 2018-07-04 22:59:44 +01:00
parent 3709d1293f
commit 6bf5856c34

View file

@ -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;
}