Remove duplicate variable to ensure manifest is freed

This commit is contained in:
Jeremy Lakeman 2013-09-20 16:47:39 +09:30
parent 57577abca6
commit ae25091fab

View File

@ -781,7 +781,7 @@ int app_meshms_list_messages(const struct cli_parsed *parsed, struct cli_context
int64_t unread_mark=conv->read_offset; int64_t unread_mark=conv->read_offset;
if (conv->found_their_ply){ if (conv->found_their_ply){
rhizome_manifest *m_theirs = rhizome_new_manifest(); m_theirs = rhizome_new_manifest();
if (!m_theirs) if (!m_theirs)
goto end; goto end;
if (ply_read_open(&read_theirs, conv->their_ply.bundle_id, m_theirs)) if (ply_read_open(&read_theirs, conv->their_ply.bundle_id, m_theirs))