Commit: fb23d0273c55d4fa382c8d1e758cca0b75da12e4
Parent: 59ba9844eb6bcc4d2c35852e730c0a63d58a83ca
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-03-17 14:54:56
Tree: b4feb355e9e84597944b04b12304576fc08e3db6

Change attrib_db_update() to return reallocated data attrib_db_update() uses g_try_realloc(), which means the memory address of the updated attribute may change. Callers may need to update references to the old address. The new struct attribute pointer is returned to caller by the "attr" paramater.

Diffstat

M src/attrib-server.c | 9 ++++++- - -
M src/attrib-server.h | 2 +-

2 files changed, 7 insertions(+), 4 deletions(-)

View Full Diff | Patch