Diff between 64670a4a31d53fe8b5b801ab1f8659e3d0ed2000 and 8784c67d35e2d95902fb17cd799abaf132b416a9

Changed Files

File Additions Deletions Status
profiles/audio/a2dp.c +1 -0 modified

Full Patch

diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 0461936..f98ec85 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -1990,6 +1990,7 @@ static void load_remote_sep(struct a2dp_channel *chan, GKeyFile *key_file,
 
 	if (sscanf(value, "%02hhx:%02hhx", &lseid, &rseid) != 2) {
 		warn("Unable to load LastUsed");
+		g_free(value);
 		return;
 	}