Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cf28b958
Kaydet (Commit)
cf28b958
authored
Tem 29, 2010
tarafından
Mark Dickinson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #9422: Fix memory leak when re-initializing a struct.Struct object.
üst
0a0fc07d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
NEWS
Misc/NEWS
+2
-0
_struct.c
Modules/_struct.c
+3
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
cf28b958
...
...
@@ -1492,6 +1492,8 @@ Library
Extension Modules
-----------------
- Issue #9422: Fix memory leak when re-initializing a struct.Struct object.
- Issue #7900: The getgroups(2) system call on MacOSX behaves rather oddly
compared to other unix systems. In particular, os.getgroups() does
not reflect any changes made using os.setgroups() but basicly always
...
...
Modules/_struct.c
Dosyayı görüntüle @
cf28b958
...
...
@@ -1247,6 +1247,9 @@ prepare_s(PyStructObject *self)
PyErr_NoMemory
();
return
-
1
;
}
/* Free any s_codes value left over from a previous initialization. */
if
(
self
->
s_codes
!=
NULL
)
PyMem_FREE
(
self
->
s_codes
);
self
->
s_codes
=
codes
;
s
=
fmt
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment