orccodemem: fix list corruption when splitting memory chunks in two
authorTim-Philipp Müller <tim@centricular.com>
Wed, 4 Jun 2014 22:25:52 +0000 (23:25 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 4 Jun 2014 22:34:13 +0000 (23:34 +0100)
commit5763373b60ac970d4a9154de8cb3994b52e76efb
treeafc5d098133b6ad1593e6e8be68deebb1f05e59d
parent7408b73c0ec138ffacd89ed9f7d3f9a0079d8916
orccodemem: fix list corruption when splitting memory chunks in two

When splitting orc memory chunks in two, the 'prev' pointer of the
new memory chunk to be inserted was wrong, causing invalid memory
access and double frees later down the line.

https://bugzilla.gnome.org/show_bug.cgi?id=731227
orc/orccodemem.c