Skip to content

Commit

Permalink
Remove unneded freeing function for mpris_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusor committed Jul 30, 2021
1 parent b3ccfce commit be92535
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/sdbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ void mpris_metadata_init(mpris_metadata* metadata)
memcpy(metadata->title, "unknown", 8);
}

void mpris_properties_unref(mpris_properties *properties)
{
free(&(properties->metadata));
free(properties);
}

DBusMessage* call_dbus_method(DBusConnection* conn, char* destination, char* path, char* interface, char* method)
{
if (NULL == conn) { return NULL; }
Expand Down

0 comments on commit be92535

Please sign in to comment.