Fix missing pthread_mutex_unlock call in HgfsSetAttrCache when
updating the cached attributes on a file and a memory allocation
fails.
/*********************************************************
- * Copyright (C) 2013 VMware, Inc. All rights reserved.
+ * Copyright (C) 2013-2018 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
tmp = malloc(sizeof(HgfsAttrCache) + strlen(path) + 1);
if (tmp == NULL) {
- return -ENOMEM;
+ res = -ENOMEM;
goto out;
}