[ASAN] tree-wide: Squash a few string leaks
Just a few random string leaks. Closes: #533 Approved by: jlebon
This commit is contained in:
parent
975c0703c3
commit
12a6999d02
@ -1210,7 +1210,7 @@ rpmostreed_os_new (OstreeSysroot *sysroot,
|
||||
RpmostreedTransactionMonitor *monitor)
|
||||
{
|
||||
RpmostreedOS *obj = NULL;
|
||||
const gchar *path;
|
||||
g_autofree char *path = NULL;
|
||||
|
||||
g_return_val_if_fail (OSTREE_IS_SYSROOT (sysroot), NULL);
|
||||
g_return_val_if_fail (name != NULL, NULL);
|
||||
|
@ -1866,7 +1866,7 @@ rpmostree_context_assemble_commit (RpmOstreeContext *self,
|
||||
g_hash_table_new_full (NULL, NULL, (GDestroyNotify)g_object_unref, (GDestroyNotify)g_free);
|
||||
DnfPackage *filesystem_package = NULL; /* It's special... */
|
||||
int r;
|
||||
char *tmp_metadata_dir_path = NULL;
|
||||
g_autofree char *tmp_metadata_dir_path = NULL;
|
||||
glnx_fd_close int tmp_metadata_dfd = -1;
|
||||
g_autofree char *ret_commit_checksum = NULL;
|
||||
OstreeRepoCommitModifier *commit_modifier = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user