QDict: Fix size update
authorLuiz Capitulino <lcapitulino@redhat.com>
Mon, 14 Dec 2009 20:53:20 +0000 (18:53 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 18 Dec 2009 17:26:27 +0000 (11:26 -0600)
commit42e8c52233af5e31b64a238fb75874cac7f40f7f
tree32cbacc1ba3a98d50614aac0a976fc53d411378d
parentd42d75d7aece1ab5734f538452a4633da8caf8b0
QDict: Fix size update

Key replacement should not update the dictionary's size.

This commit also adds a test for the bug.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
check-qdict.c
qdict.c