diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2011-08-24 06:42:52 +0800 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2011-08-24 06:47:23 +0800 |
commit | 57075092737c287010e1a2435bf1b1c1839101a5 (patch) | |
tree | 8d1634a759475bb65d9b29ad428ac7d2683abab7 /tools/libtpcodegen.py | |
parent | 4fd99e6dc16c26656d43296f2b3104dac3f9e45b (diff) | |
download | gsoc2013-empathy-57075092737c287010e1a2435bf1b1c1839101a5.tar gsoc2013-empathy-57075092737c287010e1a2435bf1b1c1839101a5.tar.gz gsoc2013-empathy-57075092737c287010e1a2435bf1b1c1839101a5.tar.bz2 gsoc2013-empathy-57075092737c287010e1a2435bf1b1c1839101a5.tar.lz gsoc2013-empathy-57075092737c287010e1a2435bf1b1c1839101a5.tar.xz gsoc2013-empathy-57075092737c287010e1a2435bf1b1c1839101a5.tar.zst gsoc2013-empathy-57075092737c287010e1a2435bf1b1c1839101a5.zip |
libempathy-gtk: Explicitly close the input stream used for reading avatars
Due to a missing unref in GIO, the input stream is leaked by GFileIcon, so
if we rely on its FD being implicitly closed when the stream is finalised,
we'll end up leaking (lots of) file descriptors.
As well as fixing the unref in GIO (see: bgo#657206), we now explicitly
close the input stream so that even if the stream object is leaked, the FD
isn't.
Closes: bgo#656682
Diffstat (limited to 'tools/libtpcodegen.py')
0 files changed, 0 insertions, 0 deletions