Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2927ef20 authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Steve Kondik
Browse files

MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue().

The jstring "stringValue" was not never freed.
In the case where "str" was NULL the whole cleanup part (see "goto out")
was even skipped.
This patch makes getObjectPropertyValue() behave like
getObjectPropertyList().

Change-Id: I5a7ec3611036f5253a054b00064999bcd1d1c29e
parent ee70f521
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment