Use NULL instead of 0 for clearing or returning a pointer.
Attach a file by drag & drop or click to upload