comparison libpurple/mediamanager.c @ 26821:1a1c12c122c9

Look up the old image before we store the new one in the hash table. Looking up the new image and then unref:ing it (hence freeing the data and subsequently returning it) is not good. This was causing problems with changing buddy icons while using mystatusbox. Closes #9120.
author Paul Aurich <paul@darkrain42.org>
date Wed, 06 May 2009 06:40:24 +0000
parents 75b473f216f2
children feb17f2b5b7a
comparison
equal deleted inserted replaced
26820:839c5481b32a 26821:1a1c12c122c9