* fix leak in mu-msg-doc

This commit is contained in:
djcb 2012-08-11 21:37:33 +03:00
parent 38a2ee788b
commit 3423b86e09
1 changed files with 2 additions and 2 deletions

View File

@ -276,8 +276,8 @@ get_str_field (MuMsg *self, MuMsgFieldId mfid)
char *val;
gboolean do_free;
do_free = FALSE;
val = NULL;
do_free = TRUE;
val = NULL;
if (self->_doc && mu_msg_field_xapian_value (mfid))
val = mu_msg_doc_get_str_field (self->_doc, mfid);