1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 16:41:59 +00:00

cast free to avoid warnings

This commit is contained in:
Alberto Fanjul 2024-07-13 19:14:10 +02:00
parent 430b1a39b8
commit c9c8bd7a7a

View file

@ -828,7 +828,7 @@ int shl__mkdir_parents(const char *prefix, const char *path, mode_t mode)
p = strndup(path, e - path);
r = shl__is_dir(p);
free(p);
free((char*)p);
if (r > 0)
return 0;
if (r == 0)