diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-28 11:02:30 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-28 11:02:30 +0000 |
| commit | 532f2131e7728275554bf393164d9b0eb1e66bb6 (patch) | |
| tree | c5415cb6afa5ca119591ce3ba063cc9164987499 /plugins/dfinput | |
| parent | f5a6f9ccbf6216bb76569497ea8c7ba17f47ec78 (diff) | |
| download | pcsxr-532f2131e7728275554bf393164d9b0eb1e66bb6.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38378 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfinput')
| -rw-r--r-- | plugins/dfinput/cfg-gtk2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dfinput/cfg-gtk2.c b/plugins/dfinput/cfg-gtk2.c index c2013833..d51034df 100644 --- a/plugins/dfinput/cfg-gtk2.c +++ b/plugins/dfinput/cfg-gtk2.c @@ -90,6 +90,7 @@ static int GetSelectedKeyIndex(int padnum) { path = gtk_tree_model_get_path(model, &iter); i = *gtk_tree_path_get_indices(path); + gtk_tree_path_free(path); return i; } @@ -242,6 +243,7 @@ static void TreeSelectionChanged(GtkTreeSelection *selection, gpointer user_data if (selected) { path = gtk_tree_model_get_path(model, &iter); i = *gtk_tree_path_get_indices(path); + gtk_tree_path_free(path); // If a row was selected, and the row is not blank, we can now enable // some of the disabled widgets |
