&old_path),
old_buffer, &old_name, &info,
labels_profile(label)->disconnected);
+ path_put(&old_path);
if (error)
goto error;
out:
put_buffers(buffer, old_buffer);
- path_put(&old_path);
return error;
&old_path),
old_buffer, &old_name, &info,
labels_profile(label)->disconnected);
+ path_put(&old_path);
if (error)
goto error;
out:
put_buffers(buffer, old_buffer);
- path_put(&old_path);
return error;
&dev_path),
dev_buffer, &dev_name, &info,
labels_profile(label)->disconnected);
+ path_put(&dev_path);
if (error)
goto error;
}
cleanup:
put_buffers(buffer, dev_buffer);
- if (requires_dev)
- path_put(&dev_path);
return error;