   SDL Crash after loading new image
  To give you some background on what i am doing, I have a file format that i made that holds a bunch of images and locations as to where they are in my game. then i have a map.  if your not on the image your on the map and vis virsa.  however if i walk off an image then onto the map and try to go onto the image again.  the game crashes because it loses my pointer for where the image is in my file.  but the pointer is never changed...and i dont understand why is there anything i should be doing to my SDL_Surface pointer when i want to load a new image?   
  You really aren't being very clear. Perhaps you could post some code?   ;  The first thing that comes to mind is that there is a memory leak in your code if you don't deallocate the first surface before creating a new one to hold the new image.  That shouldn't cause a crash, however.   ;  Your not clear on the problem, which you're having.Perhaps giving us your output after the running the program would help us out!