about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-26 20:47:48 +0000
committerJames Booth <boothj5@gmail.com>2015-10-26 20:47:48 +0000
commitab9bdffab6bf294be218f60d7a2b3db99d56ca9b (patch)
treebffcaa40fcde88ab78b2cfa0959a878bf3cffb34 /src
parentd8fc7faa368238b0d912de195974454a534a99df (diff)
parenta6f27d3ea73ad0165c1bb12744ecc172d43511e3 (diff)
downloadprofani-tty-ab9bdffab6bf294be218f60d7a2b3db99d56ca9b.tar.gz
Merge remote-tracking branch 'jubalh/ptr_fix'
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