Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
2d98a634
Commit
2d98a634
authored
Apr 11, 2013
by
Felix Paul Kühne
Browse files
patches: fix memory management issue within AQGridView
parent
cc3d8304
Changes
2
Hide whitespace changes
Inline
Side-by-side
buildAspenProject.sh
View file @
2d98a634
...
...
@@ -150,7 +150,17 @@ cd ..
fi
if
!
[
-e
AQGridView
]
;
then
git clone git://github.com/AlanQuatermain/AQGridView.git
cd
AQGridView
git am ../../patches/aqgridview/
*
.patch
if
[
$?
-ne
0
]
;
then
git am
--abort
info
"Applying the patches failed, aborting git-am"
exit
1
fi
cd
..
fi
exit
info
"Setup 'External' folders"
...
...
patches/aqgridview/0001-Fix-memory-management-issue.patch
0 → 100644
View file @
2d98a634
From 7744ab5ab1ef5f24aa9395d2dab044430b4f4ddd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
Date: Thu, 11 Apr 2013 12:37:48 +0200
Subject: [PATCH] Fix memory management issue
---
Classes/AQGridViewCell.m | 1 +
Classes/AQGridViewUpdateInfo.m | 1 +
2 files changed, 2 insertions(+)
diff --git a/Classes/AQGridViewCell.m b/Classes/AQGridViewCell.m
index 7cc9b68..837586f 100644
--- a/Classes/AQGridViewCell.m
+++ b/Classes/AQGridViewCell.m
@@ -98,6 +98,7 @@
{
if ( _selectionColorInfo != NULL )
CFRelease( _selectionColorInfo );
+ [super dealloc];
}
- (NSComparisonResult) compareOriginAgainstCell: (AQGridViewCell *) otherCell
diff --git a/Classes/AQGridViewUpdateInfo.m b/Classes/AQGridViewUpdateInfo.m
index 9bf5148..12d7665 100644
--- a/Classes/AQGridViewUpdateInfo.m
+++ b/Classes/AQGridViewUpdateInfo.m
@@ -70,6 +70,7 @@
free( _oldToNewIndexMap );
if ( _newToOldIndexMap != NULL )
free( _newToOldIndexMap );
+ [super dealloc];
}
- (NSMutableArray *) updateItemArrayForAction: (AQGridViewUpdateAction) action
--
1.7.12.4 (Apple Git-37)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment