[tracker/tracker-0.8] libtracker-miner: Fix memory leak in vapi file
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] libtracker-miner: Fix memory leak in vapi file
- Date: Thu, 6 May 2010 17:55:14 +0000 (UTC)
commit 78a02ac86d985de4ac5fcf565e7223142ac3e865
Author: Adrien Bustany <abustany gnome org>
Date: Fri Apr 30 11:59:39 2010 -0400
libtracker-miner: Fix memory leak in vapi file
The return type of PasswordProvider.get_name was incorrectly marked as
unowned, so it was not freed by Vala.
src/libtracker-miner/tracker-miner.vapi | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner.vapi b/src/libtracker-miner/tracker-miner.vapi
index b0961ab..cdc6b55 100644
--- a/src/libtracker-miner/tracker-miner.vapi
+++ b/src/libtracker-miner/tracker-miner.vapi
@@ -94,7 +94,7 @@ namespace Tracker {
public interface PasswordProvider : GLib.Object {
public void forget_password (string service) throws GLib.Error;
public static unowned Tracker.PasswordProvider @get ();
- public unowned string get_name ();
+ public string get_name ();
public string get_password (string service, out string username) throws GLib.Error;
public void store_password (string service, string description, string username, string password) throws GLib.Error;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]