Thread
:
Memory management
View Single Post
01-18-2004, 10:37 AM
#
2
KaVir
Legend
Join Date: Apr 2002
Name: Richard
Home MUD: God Wars II
Posts: 2,052
You need to use a pointer to a pointer for 'target' (unless you're using C++, in which case a reference to a pointer might be cleaner). You should also check for a NULL 'string' being passed in.
KaVir
View Public Profile
Visit KaVir's homepage!
Find More Posts by KaVir