In c++, I have a server code running continuously 24*7 but i am getting segfault sometimes while freeing the buffer. I tried try catch as well.
try {
free(partialBuf);
} catch (...) {
printf("Caught partial buf free error");
}
Thanks in advance!