mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
mailcap on slave: Fixed memleak.
This commit is contained in:
parent
40d3102bc7
commit
8e7daa1a29
@ -750,9 +750,9 @@ get_slave_mailcap(unsigned char *type)
|
|||||||
else
|
else
|
||||||
*++current = '\0';
|
*++current = '\0';
|
||||||
shared_mem[4095] = (entry->needsterminal << 1) | (entry->copiousoutput << 0);
|
shared_mem[4095] = (entry->needsterminal << 1) | (entry->copiousoutput << 0);
|
||||||
done_mailcap(NULL);
|
|
||||||
}
|
}
|
||||||
end:
|
end:
|
||||||
|
done_mailcap(NULL);
|
||||||
sem_signal(master_sem);
|
sem_signal(master_sem);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user