commit | 05a40dc974db437e964645be77b5380e9fd3ed2e | [log] [tgz] |
---|---|---|
author | Simeon Andreev <simeon.danailov.andreev@gmail.com> | Wed May 12 13:56:22 2021 +0200 |
committer | Andrey Loskutov <loskutov@gmx.de> | Thu May 13 17:39:22 2021 -0400 |
tree | 635edbebb941eeddd03628267a8bc34ceb7c6bce | |
parent | c677ee7c1e621b2f7a94f4c304614ac4f3f4b413 [diff] |
Bug 573473 - [GTK3] ImageLoader.getImageFormat(long) leaks native memory This change adds the missing OS.g_free() call to ImageLoader.getImageFormat(), in order to free memory allocated with GDK.gdk_pixbuf_format_get_name(). This prevents a native memory leak. Change-Id: I3ff6ae1a6bfe63ea4ac6d3f092ed134d669d3201 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180519 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Reviewed-by: Andrey Loskutov <loskutov@gmx.de>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!