about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/preferences.c1
-rw-r--r--src/muc.c1
-rw-r--r--src/ui/buffer.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 5ac4652b..3ff9a589 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -203,7 +203,6 @@ prefs_free_string(char *pref)
     if (pref) {
         g_free(pref);
     }
-    pref = NULL;
 }
 
 
diff --git a/src/muc.c b/src/muc.c
index 1ceb7ce0..0d84e7f6 100644
--- a/src/muc.c
+++ b/src/muc.c
@@ -976,6 +976,5 @@ _occupant_free(Occupant *occupant)
         free(occupant->jid);
         free(occupant->status);
         free(occupant);
-        occupant = NULL;
     }
 }
diff --git a/src/ui/buffer.c b/src/ui/buffer.c
index 20528de4..629aa9e7 100644
--- a/src/ui/buffer.c
+++ b/src/ui/buffer.c
@@ -76,7 +76,6 @@ buffer_free(ProfBuff buffer)
 {
     g_slist_free_full(buffer->entries, (GDestroyNotify)_free_entry);
     free(buffer);
-    buffer = NULL;
 }
 
 void