Use the user supplied malloc and free everywhere.
- Add a struct, MM, which holds the malloc and free implementation
passed to pgp_init_.
- Pass it to all functions that allocate using malloc or free memory
using free.
parent
5b331c0b
Please register or sign in to comment