registry: don't leak (to talloc_tos()) in regdb_store_keys().
authorMichael Adam <obnox@samba.org>
Sun, 16 Mar 2008 23:41:59 +0000 (00:41 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 17 Mar 2008 07:22:33 +0000 (08:22 +0100)
commit95525772f2791f0fb999fe9f271da5b0fbdc62d8
tree4e00f45654398bb1b3a2a7b31df576ffdbf5c566
parent966b2414cb6efdfe5acb412ed9bdfd7589ee694c
registry: don't leak (to talloc_tos()) in regdb_store_keys().

use talloc_stackframe() and free on error path.

Michael
source/registry/reg_backend_db.c