summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-undostack-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-undostack-manager.c b/libcaja-private/caja-undostack-manager.c
index 1d988cda..79778460 100644
--- a/libcaja-private/caja-undostack-manager.c
+++ b/libcaja-private/caja-undostack-manager.c
@@ -903,7 +903,7 @@ caja_undostack_manager_data_add_trashed_file (CajaUndoStackActionData
return;
guint64 *modificationTime;
- modificationTime = (guint64 *) malloc (sizeof (guint64));
+ modificationTime = (guint64 *) g_malloc (sizeof (guint64));
*modificationTime = mtime;
char *originalURI = g_file_get_uri (file);
@@ -924,7 +924,7 @@ void caja_undostack_manager_data_add_file_permissions
return;
guint32 *currentPermission;
- currentPermission = (guint32 *) malloc (sizeof (guint32));
+ currentPermission = (guint32 *) g_malloc (sizeof (guint32));
*currentPermission = permission;
char *originalURI = g_file_get_uri (file);