In _talloc_steal_internal(), correctly decrement the memory limit in the source,...
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 19:57:43 +0000 (12:57 -0700)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Mar 2015 09:55:36 +0000 (10:55 +0100)
commitadf164fb1ccf24511654577f94f90531a1fa9e01
treecdb99e60dd790292dcdd34398ac3f56182a59b1c
parent31f60a973966da13cedf43878947e7489f3d6b5b
In _talloc_steal_internal(), correctly decrement the memory limit in the source, and increment in the destination.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
(cherry picked from commit 43860293225d14ca2c339277b42f8705322463ab)
lib/talloc/talloc.c