Skip to content

Commit

Permalink
refactor(scene): removed free(filename) and pathcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
buchholzs committed Dec 24, 2024
1 parent ba00e0e commit b2f108e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Scene/src/Controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ static void *fileOpenOKSelectedHandler(struct MxObject * object, const MxEvent *
desktop->controller->handleError(error);
}
desktop->controller->loadScene(fileName.string());
#ifndef WIN32
free(fileName);
free(pathcopy);
#endif
}
break;
default:
Expand Down

0 comments on commit b2f108e

Please sign in to comment.