tools: fix some missing free/close

This commit is contained in:
Pauli Virtanen 2025-06-14 15:21:29 +03:00
parent 3539374ba7
commit baadda3b67
2 changed files with 2 additions and 2 deletions

View file

@ -395,6 +395,7 @@ rd_device_new(DBusConnection *connection, const char *device_name, const char *a
error_free:
free(d->service_name);
free(d->object_path);
free(d->application_name);
free(d);
errno = -res;
return NULL;