Source

py-sdl2 / sdl2 / rwops.py

Diff from to

File sdl2/rwops.py

 SDL_RWFromMem = _bind("SDL_RWFromMem", [c_void_p, c_int], POINTER(SDL_RWops))
 SDL_RWFromConstMem = _bind("SDL_RWFromConstMem", [c_void_p, c_int], POINTER(SDL_RWops))
 SDL_AllocRW = _bind("SDL_AllocRW", None, POINTER(SDL_RWops))
-SDL_FreeRW = _bind("SDL_AllocRW", [POINTER(SDL_RWops)])
+SDL_FreeRW = _bind("SDL_FreeRW", [POINTER(SDL_RWops)])
 
 RW_SEEK_SET = 0
 RW_SEEK_CUR = 1