mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-27 00:03:00 +00:00
Minor optimisation.
This commit is contained in:
parent
9d9d094e6a
commit
5538e539d2
1 changed files with 1 additions and 4 deletions
|
@ -140,10 +140,7 @@ retry_realpath(const char *file_name)
|
||||||
else
|
else
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
x = malloc(strlen(r) + 1);
|
return r;
|
||||||
strcpy(x, r);
|
|
||||||
free(r);
|
|
||||||
return x;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue