src/video/cocoa/SDL_cocoamouse.m
changeset 7191 75360622e65f
parent 7158 ff52fba70795
child 7271 963d2ba35cfe
equal deleted inserted replaced
7190:11612d544fcd 7191:75360622e65f
   151     }
   151     }
   152 
   152 
   153     if (nscursor) {
   153     if (nscursor) {
   154         cursor = SDL_calloc(1, sizeof(*cursor));
   154         cursor = SDL_calloc(1, sizeof(*cursor));
   155         if (cursor) {
   155         if (cursor) {
   156             // We'll free it later, so retain it here
   156             /* We'll free it later, so retain it here */
   157             [nscursor retain];
   157             [nscursor retain];
   158             cursor->driverdata = nscursor;
   158             cursor->driverdata = nscursor;
   159         }
   159         }
   160     }
   160     }
   161 
   161