[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10676 - Extractor-mono/LibExtractor/src
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10676 - Extractor-mono/LibExtractor/src |
Date: |
Mon, 22 Mar 2010 13:52:24 +0100 |
Author: patrick
Date: 2010-03-22 13:52:24 +0100 (Mon, 22 Mar 2010)
New Revision: 10676
Modified:
Extractor-mono/LibExtractor/src/AssemblyInfo.cs
Extractor-mono/LibExtractor/src/Extractor.cs
Log:
* src/Extractor.cs: fixed mem leak
* src/AssemblyInfo.cs: bumped version number
Modified: Extractor-mono/LibExtractor/src/AssemblyInfo.cs
===================================================================
--- Extractor-mono/LibExtractor/src/AssemblyInfo.cs 2010-03-19 15:00:39 UTC
(rev 10675)
+++ Extractor-mono/LibExtractor/src/AssemblyInfo.cs 2010-03-22 12:52:24 UTC
(rev 10676)
@@ -33,7 +33,7 @@
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// If the build and revision are set to '*' they will be updated automatically.
-[assembly: AssemblyVersion("0.5.23.2")]
+[assembly: AssemblyVersion("0.5.23.3")]
// The following attributes are used to specify the signing key for the
assembly,
// if desired. See the Mono documentation for more information about signing.
Modified: Extractor-mono/LibExtractor/src/Extractor.cs
===================================================================
--- Extractor-mono/LibExtractor/src/Extractor.cs 2010-03-19 15:00:39 UTC
(rev 10675)
+++ Extractor-mono/LibExtractor/src/Extractor.cs 2010-03-22 12:52:24 UTC
(rev 10676)
@@ -140,10 +140,12 @@
private List<Keyword> GetKeywordsInternal(IntPtr pKeywords) {
try {
List<Keyword> list = new List<Keyword>();
- while(pKeywords != IntPtr.Zero) {
- Keyword k =
(Keyword)Marshal.PtrToStructure(pKeywords, typeof(Keyword));
+ IntPtr p = pKeywords;
+
+ while (p != IntPtr.Zero) {
+ Keyword k =
(Keyword)Marshal.PtrToStructure(p, typeof(Keyword));
list.Add(k);
- pKeywords = k.next;
+ p = k.next;
}
return list;
} finally {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10676 - Extractor-mono/LibExtractor/src,
gnunet <=