Fixed copy & paste error leading to a double-free condition
This commit is contained in:
parent
f441810e09
commit
7c8fd20e45
|
@ -380,7 +380,6 @@ static void _refresh_dir(CVS * cvs)
|
|||
snprintf(p, len, "%s/%s", filename, dir);
|
||||
if(lstat(p, &st) != 0)
|
||||
{
|
||||
free(p);
|
||||
/* check if the parent folder is managed */
|
||||
if(_cvs_is_managed(filename, NULL) == FALSE)
|
||||
_refresh_status(cvs, _("Not a CVS repository"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user