mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-17 13:20:45 +00:00
Modify jnew(FileOp) with "new FileOp".
This commit is contained in:
parent
911fe71c0e
commit
b49359314c
@ -704,7 +704,7 @@ void fop_free(FileOp *fop)
|
||||
if (fop->mutex)
|
||||
delete fop->mutex;
|
||||
|
||||
jfree(fop);
|
||||
delete fop;
|
||||
}
|
||||
|
||||
void fop_sequence_set_format_options(FileOp *fop, FormatOptions *format_options)
|
||||
@ -853,9 +853,7 @@ bool fop_is_stop(FileOp *fop)
|
||||
|
||||
static FileOp *fop_new(FileOpType type)
|
||||
{
|
||||
FileOp *fop = jnew(FileOp, 1);
|
||||
if (!fop)
|
||||
return NULL;
|
||||
FileOp *fop = new FileOp;
|
||||
|
||||
fop->type = type;
|
||||
fop->format = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user