Changeset 3740

Show
Ignore:
Timestamp:
08/21/08 17:15:48
Author:
svillar
Message:

* Fixed a memory leak

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3737 r3740  
     12008-08-21  Sergio Villar Senin  <svillar@igalia.com> 
     2 
     3        * libtinymail/tny-fs-stream-cache.c 
     4        (tny_fs_stream_cache_finalize): properly unref the hash table with 
     5        the cached files 
     6 
    172008-08-18  Sergio Villar Senin  <svillar@igalia.com> 
    28 
  • trunk/libtinymail/tny-fs-stream-cache.c

    r3701 r3740  
    337337        TnyFsStreamCache *self = (TnyFsStreamCache *)object; 
    338338        TnyFsStreamCachePriv *priv = TNY_FS_STREAM_CACHE_GET_PRIVATE (self); 
     339 
     340        if (priv->cached_files) 
     341                g_hash_table_unref (priv->cached_files); 
    339342 
    340343        if (priv->path) {