Partially fixes NB#77528
authorFelipe Erias Morandeira <femorandeira@igalia.com>
Wed, 5 Dec 2007 10:03:30 +0000 (10:03 +0000)
committerFelipe Erias Morandeira <femorandeira@igalia.com>
Wed, 5 Dec 2007 10:03:30 +0000 (10:03 +0000)
commit8f06b773ccd7153887edee262a9d5489a8107787
tree98cda208f23f141aecb93ce4ea9473c35eddee42
parent2b69d8cd770b2988c3ec3a055e5a1db733a40a57
Partially fixes NB#77528
Solves a memory problem when obtaining the size of an attachemnt
   * modest-count-stream.[ch] : implementation of TnyStream to get the size of a stream withou wasting extra memory
   * widgets/modest-attachment-view.c : uses the former to get the size of attachments
   * modest-mail-operation.c : removed two redundant lines
   * modest-tny-send-queue.c : check for NULL value before a strdup()

pmo-trunk-r3870
src/Makefile.am
src/modest-count-stream.c [new file with mode: 0644]
src/modest-count-stream.h [new file with mode: 0644]
src/modest-mail-operation.c
src/modest-tny-send-queue.c
src/widgets/modest-attachment-view.c