Avoid using an already freed string for content id
authorJose Dapena Paz <jdapena@igalia.com>
Mon, 27 Jul 2009 15:47:50 +0000 (17:47 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 27 Jul 2009 15:57:58 +0000 (17:57 +0200)
commitad35bb9cb28319c235ca94b707c09f087409f783
tree1110208f2c07cdb374bfdffdf8ae2ca57d8a6503
parentb3746de97ff0e425171ba2d78fdd9975f313f296
Avoid using an already freed string for content id

* src/modest-tny-msg.c (add_attachments): get a copy of old content id
  intead of a plain reference, as this may be freed before we use it
  for the new attachment.
src/modest-tny-msg.c