In our code base memory is allocated for one object in one process then it is passed to another process, other process is supposed to free the memory of that object. valgrind we are only able to attach one process at a time so it is showing as memory leak
Edit1: Other process is not forked process, both are started independently .
Edit2: both processes are able to access one common address space .