mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-14 10:27:42 +00:00
Fix for NPE with audio attachments.
This commit is contained in:
@@ -71,6 +71,7 @@ public class AudioSlide extends Slide {
|
|||||||
else
|
else
|
||||||
throw new IOException("Unable to query content type.");
|
throw new IOException("Unable to query content type.");
|
||||||
} finally {
|
} finally {
|
||||||
|
if (cursor != null)
|
||||||
cursor.close();
|
cursor.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user