Hello,
Can anyone find what the (memory leak) problem is in this code segment:
--------------------------
void
foo1( void )
{
A *a = appArray.iterate( 0 );
B *b;
b = new B;
...
b = foo2( a->id );
...
delete b;
}
Note that foo2 returns B*
---------------------------
Thank you.
Hello,
I want to check with a ksh script if another process is running and get the process id, too. Also, I am able to get the following line:
userid 2345 1 0 13:58:52 pts/tg 0:00 abcd -a devl -f /home/cfg/abcd.cfg
How can I retrieve the pid value - 2345 - and assign it to a local...
What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario?
There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...
What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario?
There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...
What are the possibilities of getting SIGBUS and SIGSEGV errors in the following scenario?
There is a program (C/C++/Pro*C) that was running fine under HP-UX 11.x and Oracle8i (8.1.6). Oracle database was upgraded to Oracle9i (9.2.0). The source code, including the project libraries, was...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.