Leak appeared in commit
91eefc3f, v4.3.12. Harmless in practice,
since the error is ultimately fatal.
* Known contributors to this file:
* Julian Onions, 1995
* Steve McClure, 1998-2000
* Known contributors to this file:
* Julian Onions, 1995
* Steve McClure, 1998-2000
- * Markus Armbruster, 2004-2009
+ * Markus Armbruster, 2004-2011
if (p[0] != '/') {
fprintf(stderr, "Can't get current working directory (%s)\n",
strerror(errno));
if (p[0] != '/') {
fprintf(stderr, "Can't get current working directory (%s)\n",
strerror(errno));
+ if (p != econfig)
+ free(p);
return -1;
}
if (p == econfig)
return -1;
}
if (p == econfig)