dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (l


From: Aleksey Demakov
Subject: [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (libjit) branch, master, updated. 8cea24896584ca883ec215b465970f074444618d
Date: Mon, 29 Oct 2012 23:16:52 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET Just In Time compiler (libjit)".

The branch, master has been updated
       via  8cea24896584ca883ec215b465970f074444618d (commit)
       via  01ef0a392e9b05d458ed9a054c082e01e47670fb (commit)
      from  71c98c77b73dc5ab22932973d4fc2d5478601d3f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/libjit.git/commit/?id=8cea24896584ca883ec215b465970f074444618d

commit 8cea24896584ca883ec215b465970f074444618d
Author: Aleksey Demakov <address@hidden>
Date:   Tue Oct 30 02:16:05 2012 +0300

    Free function signatures in smaple code.

diff --git a/ChangeLog b/ChangeLog
index 3e91360..a6f240a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-10-30  Aleksey Demakov  <address@hidden>
 
+       * tutorial/t1.c, tutorial/t2.c: free function signature.
+
        * jit/jit-block.c (delete_block): fix memory leak.
 
        * jit/jit-memory-cache.c: rename jit-cache.c
diff --git a/tutorial/t1.c b/tutorial/t1.c
index 99a1019..c6fd2b6 100644
--- a/tutorial/t1.c
+++ b/tutorial/t1.c
@@ -68,6 +68,7 @@ int main(int argc, char **argv)
 
        /* Clean up */
        jit_context_destroy(context);
+       jit_type_free(signature);
 
        /* Finished */
        return 0;
diff --git a/tutorial/t2.c b/tutorial/t2.c
index 1160e2b..9f05781 100644
--- a/tutorial/t2.c
+++ b/tutorial/t2.c
@@ -105,6 +105,7 @@ int main(int argc, char **argv)
 
        /* Clean up */
        jit_context_destroy(context);
+       jit_type_free(signature);
 
        /* Finished */
        return 0;

http://git.savannah.gnu.org/cgit/libjit.git/commit/?id=01ef0a392e9b05d458ed9a054c082e01e47670fb

commit 01ef0a392e9b05d458ed9a054c082e01e47670fb
Author: Aleksey Demakov <address@hidden>
Date:   Tue Oct 30 02:03:46 2012 +0300

    Fix memory leak in delete_block().

diff --git a/ChangeLog b/ChangeLog
index c8508b9..3e91360 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-10-30  Aleksey Demakov  <address@hidden>
 
+       * jit/jit-block.c (delete_block): fix memory leak.
+
        * jit/jit-memory-cache.c: rename jit-cache.c
 
 2012-10-20  Aleksey Demakov  <address@hidden>
diff --git a/jit/jit-block.c b/jit/jit-block.c
index 939e969..6ffd329 100644
--- a/jit/jit-block.c
+++ b/jit/jit-block.c
@@ -292,7 +292,7 @@ delete_block(jit_block_t block)
        block->insns = 0;
 
        block->next = block->func->builder->deleted_blocks;
-       block->func->builder->deleted_blocks = block->next;
+       block->func->builder->deleted_blocks = block;
 }
 
 /* The block is empty if it contains nothing apart from an unconditional 
branch */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    4 ++++
 jit/jit-block.c |    2 +-
 tutorial/t1.c   |    1 +
 tutorial/t2.c   |    1 +
 4 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
DotGNU Portable.NET Just In Time compiler (libjit)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]