conf: cleanup macros idmaptool_on_path_[...]

parent 0c669152
...@@ -2839,7 +2839,7 @@ int write_id_mapping(enum idtype idtype, pid_t pid, const char *buf, ...@@ -2839,7 +2839,7 @@ int write_id_mapping(enum idtype idtype, pid_t pid, const char *buf,
*/ */
static int idmaptool_on_path_and_privileged(const char *binary, cap_value_t cap) static int idmaptool_on_path_and_privileged(const char *binary, cap_value_t cap)
{ {
char *path; __do_free char *path = NULL;
int ret; int ret;
struct stat st; struct stat st;
int fret = 0; int fret = 0;
...@@ -2895,7 +2895,6 @@ static int idmaptool_on_path_and_privileged(const char *binary, cap_value_t cap) ...@@ -2895,7 +2895,6 @@ static int idmaptool_on_path_and_privileged(const char *binary, cap_value_t cap)
#endif #endif
cleanup: cleanup:
free(path);
return fret; return fret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment