gpu.c: group_writes: fix error handling
commit30a05703cc3f2ab8391601178f8e26366f9af8dd
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 2 Oct 2013 19:54:23 +0000 (2 21:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 30 Oct 2014 09:03:50 +0000 (30 10:03 +0100)
tree2d9c1e997a8b6253a07eb7dcb3d8b1a956900bb0
parent2b481f0f6249c25199658451c731b44de4157211
gpu.c: group_writes: fix error handling

join_groups_and_free has freed one of the groups and we need to mark
it as having been freed before checking for errors, which could otherwise
result in the group getting freed again.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
gpu.c