Released the memory
Created the cards using deck_createCard and delete the cards using deck_deleteCard