Would this cause a memory leak or cause any other problems?
Code:char *TestDecrypt(char *pText) { char pText2[1024]; strcpy(pText2, pText); for(unsigned int i=0; i<strlen(pText); i++) { pText2[i]--; } char *strTextReturn = pText2; return strTextReturn; }




Reply With Quote