aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-password-manager.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-03-28 23:06:20 +0800
committerChristian Persch <chpe@src.gnome.org>2008-03-28 23:06:20 +0800
commit6605cb341e38ebaea954567a3d3180a7c11d0655 (patch)
tree5886495da3f4cefa6df183dffbcc7f464ef2e0dd /embed/ephy-password-manager.c
parent378ddd7dc9a0abd724bc5636197b9b457a23090a (diff)
downloadgsoc2013-epiphany-6605cb341e38ebaea954567a3d3180a7c11d0655.tar
gsoc2013-epiphany-6605cb341e38ebaea954567a3d3180a7c11d0655.tar.gz
gsoc2013-epiphany-6605cb341e38ebaea954567a3d3180a7c11d0655.tar.bz2
gsoc2013-epiphany-6605cb341e38ebaea954567a3d3180a7c11d0655.tar.lz
gsoc2013-epiphany-6605cb341e38ebaea954567a3d3180a7c11d0655.tar.xz
gsoc2013-epiphany-6605cb341e38ebaea954567a3d3180a7c11d0655.tar.zst
gsoc2013-epiphany-6605cb341e38ebaea954567a3d3180a7c11d0655.zip
Use g_slice for EphyPasswordInfo, EphyPermissionInfo, PixbufCacheEntry. (#521017)
svn path=/branches/gnome-2-22/; revision=8141
Diffstat (limited to 'embed/ephy-password-manager.c')
-rw-r--r--embed/ephy-password-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-password-manager.c b/embed/ephy-password-manager.c
index 6f1b49520..ef3bb1e2c 100644
--- a/embed/ephy-password-manager.c
+++ b/embed/ephy-password-manager.c
@@ -57,7 +57,7 @@ ephy_password_info_new (const char *host,
const char *username,
const char *password)
{
- EphyPasswordInfo *info = g_new0 (EphyPasswordInfo, 1);
+ EphyPasswordInfo *info = g_slice_new0 (EphyPasswordInfo);
info->host = g_strdup (host);
info->username = g_strdup (username);
@@ -75,7 +75,7 @@ ephy_password_info_new (const char *host,
EphyPasswordInfo *
ephy_password_info_copy (const EphyPasswordInfo *info)
{
- EphyPasswordInfo *copy = g_new0 (EphyPasswordInfo, 1);
+ EphyPasswordInfo *copy = g_slice_new0 (EphyPasswordInfo);
copy->host = g_strdup (info->host);
copy->username = g_strdup (info->username);
@@ -98,7 +98,7 @@ ephy_password_info_free (EphyPasswordInfo *info)
g_free (info->host);
g_free (info->username);
g_free (info->password);
- g_free (info);
+ g_slice_free (EphyPasswordInfo, info);
}
}